Class OpenMetadataUserDetails
java.lang.Object
org.odpi.openmetadata.metadatasecurity.properties.OpenMetadataUserDetails
OpenMetadataUserDetails holds details of a particular user that can be shared between security services.
-
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 list of security roles assigned to the user.Return the list of security roles assigned to the user.Return the userId that identifies the account.Return the name of the user.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
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
Set up the userId that identifies the account.void
setUserName
(String userName) Set up the name of the user.toString()
Standard toString method.
-
Constructor Details
-
OpenMetadataUserDetails
public OpenMetadataUserDetails()Default constructor
-
-
Method Details
-
getUserId
Return the userId that identifies the account.- Returns:
- string identifier
-
setUserId
Set up the userId that identifies the account.- Parameters:
userId
- string identifier
-
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
-
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
-
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
-