diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-client-dto/src/main/java/org/apache/nifi/web/api/dto/action/ActionDTO.java b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-client-dto/src/main/java/org/apache/nifi/web/api/dto/action/ActionDTO.java index 1332f5cceb..8479d498c2 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-client-dto/src/main/java/org/apache/nifi/web/api/dto/action/ActionDTO.java +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-client-dto/src/main/java/org/apache/nifi/web/api/dto/action/ActionDTO.java @@ -32,7 +32,7 @@ import java.util.Date; public class ActionDTO { private Integer id; - private String userDn; + private String userIdentity; private Date timestamp; private String sourceId; @@ -58,17 +58,17 @@ public class ActionDTO { } /** - * @return user dn who perform this action + * @return user identity who perform this action */ @ApiModelProperty( - value = "The dn of the user that performed the action." + value = "The identity of the user that performed the action." ) - public String getUserDn() { - return userDn; + public String getUserIdentity() { + return userIdentity; } - public void setUserDn(String userDn) { - this.userDn = userDn; + public void setUserIdentity(String userIdentity) { + this.userIdentity = userIdentity; } /** diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/dto/DtoFactory.java b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/dto/DtoFactory.java index 93afccf2c5..9c54494ab4 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/dto/DtoFactory.java +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/api/dto/DtoFactory.java @@ -222,7 +222,7 @@ public final class DtoFactory { actionDto.setSourceName(action.getSourceName()); actionDto.setSourceType(action.getSourceType().name()); actionDto.setTimestamp(action.getTimestamp()); - actionDto.setUserDn(action.getUserIdentity()); + actionDto.setUserIdentity(action.getUserIdentity()); actionDto.setOperation(action.getOperation().name()); actionDto.setActionDetails(createActionDetailsDto(action.getActionDetails())); actionDto.setComponentDetails(createComponentDetailsDto(action.getComponentDetails()));