public interface Identity
Modifier and Type | Interface and Description |
---|---|
static class |
Identity.IdentityValidationResult
Possible statuses of a Identity after validation.
|
Modifier and Type | Method and Description |
---|---|
void |
addToSoapMessage(int soapMessageNode)
Add this Identity to a given SOAP message.
|
default java.lang.String |
getAuthenticatedUserID()
Returns a String representation of the authenticated user.
|
java.lang.String |
getOrgUserDN()
Returns a String representation of a LDAP DN for a user.
|
default java.util.Collection<java.lang.String> |
getOsIdentities()
Returns a collection of Strings representation the possible os identities.
|
java.lang.String |
getUserId()
Deprecated.
Use getAuthenticatedUserID or getOsIdentities.
|
java.lang.String |
getUserOrganization()
Returns the organizational LDAP DN of the User Identity
|
Identity.IdentityValidationResult |
validate()
Internal method to check if the Identity can be trusted.
|
java.lang.String getOrgUserDN()
@Deprecated java.lang.String getUserId()
default java.lang.String getAuthenticatedUserID()
default java.util.Collection<java.lang.String> getOsIdentities()
java.lang.String getUserOrganization()
void addToSoapMessage(int soapMessageNode) throws XMLException
soapMessageNode
- the soap message to add this identity toXMLException
- when XML construction failsIdentity.IdentityValidationResult validate() throws IdentityValidationException
IdentityValidationException