public final class CustomAuthenticatorPrincipal
extends java.lang.Object
implements java.security.Principal, java.io.Serializable
CustomAuthenticator
or a
CustomWebAuthenticator
.Constructor and Description |
---|
CustomAuthenticatorPrincipal(java.lang.String username,
java.lang.String domainName,
java.lang.String displayName,
java.lang.String emailAddress)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayName()
Returns the display name of the authenticated principal.
|
java.lang.String |
getDomainName()
Returns the domain name of the authenticated principal.
|
java.lang.String |
getEmailAddress()
Returns the email address of the authenticated principal.
|
java.lang.String |
getName()
Returns the username of the authenticated principal.
|
java.lang.String |
getUsername()
Returns the username of the authenticated principal.
|
public CustomAuthenticatorPrincipal(java.lang.String username, java.lang.String domainName, java.lang.String displayName, java.lang.String emailAddress)
username
- the username, must not be null
or an empty stringdomainName
- the domain name, must not be null
or an empty stringdisplayName
- the user's display name, may be null
but must not be an empty stringemailAddress
- the user's email address, may be null
but must not be an empty stringpublic java.lang.String getName()
getName
in interface java.security.Principal
public java.lang.String getUsername()
public java.lang.String getDomainName()
public java.lang.String getDisplayName()
public java.lang.String getEmailAddress()
Copyright © 2000-2020 TIBCO Software Inc. All Rights Reserved.