Class UserAccount
java.lang.Object
org.odpi.openmetadata.frameworks.connectors.properties.users.UserAccount
- Direct Known Subclasses:
OpenMetadataUserAccount
UserAccount described details of a user account for the open metadata ecosystem.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Compare the values of the supplied object with those stored in the current object.Return the distinguished name of the user.Return any other properties that should be shared with security providers.Return the secrets associated with the user account.Return the list of security roles assigned to the user.Return the list of security roles assigned to the user.Return the status of the account.Return the name of the user.Return details of the actions that are permitted on particular Governance Zones.int
hashCode()
Hash of propertiesvoid
setDistinguishedName
(String distinguishedName) Set up the distinguished name of the user.void
setOtherProperties
(Map<String, Object> otherProperties) Set up any other properties that should be shared with security providers.void
setSecrets
(Map<String, String> secrets) Set up the secrets associated with the user account.void
setSecurityGroups
(List<String> securityGroups) Set upi the list of security groups that the user belongs to.void
setSecurityRoles
(List<String> securityRoles) Set up the list of security roles assigned to the user.void
setUserAccountStatus
(UserAccountStatus userAccountStatus) Set up the status of the account.void
setUserName
(String userName) Set up the name of the user.void
setZoneAccess
(Map<String, List<ZoneAccessType>> zoneAccess) Set up details of the actions that are permitted on particular Governance Zones.toString()
Standard toString method.
-
Constructor Details
-
UserAccount
public UserAccount()Default constructor -
UserAccount
Copy constructor
-
-
Method Details
-
getUserName
Return the name of the user.- Returns:
- string name
-
setUserName
Set up the name of the user.- Parameters:
userName
- string name
-
getDistinguishedName
Return the distinguished name of the user.- Returns:
- string name
-
setDistinguishedName
Set up the distinguished name of the user.- Parameters:
distinguishedName
- string name
-
getSecurityRoles
Return the list of security roles assigned to the user.- Returns:
- list of names
-
setSecurityRoles
Set up the list of security roles assigned to the user.- Parameters:
securityRoles
- list of names
-
getSecurityGroups
Return the list of security roles assigned to the user.- Returns:
- list of names
-
setSecurityGroups
Set upi the list of security groups that the user belongs to.- Parameters:
securityGroups
- list of names
-
getZoneAccess
Return details of the actions that are permitted on particular Governance Zones.- Returns:
- map of accesses
-
setZoneAccess
Set up details of the actions that are permitted on particular Governance Zones.- Parameters:
zoneAccess
- map of accesses
-
getOtherProperties
Return any other properties that should be shared with security providers.- Returns:
- property map
-
setOtherProperties
Set up any other properties that should be shared with security providers.- Parameters:
otherProperties
- property map
-
getUserAccountStatus
Return the status of the account.- Returns:
- status enum
-
setUserAccountStatus
Set up the status of the account.- Parameters:
userAccountStatus
- status enum
-
getSecrets
Return the secrets associated with the user account.- Returns:
- a map of secret names to secret values
-
setSecrets
Set up the secrets associated with the user account.- Parameters:
secrets
- a map of secret names to secret values
-
toString
Standard toString method. -
equals
Compare the values of the supplied object with those stored in the current object. -
hashCode
public int hashCode()Hash of properties
-