Package com.spotfire.server.security
Class AuthenticationFilterPrincipal
java.lang.Object
com.spotfire.server.security.AuthenticationFilterPrincipal
- All Implemented Interfaces:
Serializable
,Principal
@Deprecated
public class AuthenticationFilterPrincipal
extends Object
implements Principal, Serializable
Deprecated.
This class represents a principal that is authenticated by an Authentication Filter.
- Since:
- 6.5
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAuthenticationFilterPrincipal
(String username, String domainName, String displayName, String emailAddress) Deprecated.TheAuthentication Filter
API is deprecated and will be removed in a future release. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Returns the display name of the authenticated principal.Deprecated.Returns the domain name of the authenticated principal.Deprecated.Returns the email address of the authenticated principal.getName()
Deprecated.Returns the username of the authenticated principal.Deprecated.Returns the username of the authenticated principal.toString()
Deprecated.
-
Constructor Details
-
AuthenticationFilterPrincipal
@Deprecated public AuthenticationFilterPrincipal(String username, String domainName, String displayName, String emailAddress) Deprecated.TheAuthentication Filter
API is deprecated and will be removed in a future release. Please use aCustomAuthenticator
, aCustomWebAuthenticator
or a custom login page (depending on the use case) instead.Creates a newAuthenticationFilterPrincipal
instance.- Parameters:
username
- the username, must not benull
or an empty stringdomainName
- the domain name, must not benull
or an empty stringdisplayName
- the user's display name, may benull
but must not be an empty stringemailAddress
- the user's email address, may benull
but must not be an empty string- Since:
- 6.5
-
-
Method Details
-
getName
Deprecated.Returns the username of the authenticated principal. -
getUsername
Deprecated.Returns the username of the authenticated principal.- Returns:
- the username
- Since:
- 6.5
-
getDomainName
Deprecated.Returns the domain name of the authenticated principal.- Returns:
- the domain name
- Since:
- 6.5
-
getDisplayName
Deprecated.Returns the display name of the authenticated principal.- Returns:
- the display name
- Since:
- 6.5
-
getEmailAddress
Deprecated.Returns the email address of the authenticated principal.- Returns:
- the email address
- Since:
- 6.5
-
toString
Deprecated.
-
Authentication Filter
API is deprecated and will be removed in a future release. Please use aCustomAuthenticator
, aCustomWebAuthenticator
or a custom login page (depending on the use case) instead.