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.
The Authentication Filter API is deprecated and will be removed in a future release. Please use a CustomAuthenticator, a CustomWebAuthenticator or a custom login page (depending on the use case) instead.
This class represents a principal that is authenticated by an Authentication Filter.
Since:
6.5
See Also:
  • Constructor Details

    • AuthenticationFilterPrincipal

      @Deprecated public AuthenticationFilterPrincipal(String username, String domainName, String displayName, String emailAddress)
      Deprecated.
      The Authentication Filter API is deprecated and will be removed in a future release. Please use a CustomAuthenticator, a CustomWebAuthenticator or a custom login page (depending on the use case) instead.
      Creates a new AuthenticationFilterPrincipal instance.
      Parameters:
      username - the username, must not be null or an empty string
      domainName - the domain name, must not be null or an empty string
      displayName - the user's display name, may be null but must not be an empty string
      emailAddress - the user's email address, may be null but must not be an empty string
      Since:
      6.5
  • Method Details

    • getName

      public String getName()
      Deprecated.
      Returns the username of the authenticated principal.
      Specified by:
      getName in interface Principal
      Returns:
      the username
      Since:
      6.5
    • getUsername

      public String getUsername()
      Deprecated.
      Returns the username of the authenticated principal.
      Returns:
      the username
      Since:
      6.5
    • getDomainName

      public String getDomainName()
      Deprecated.
      Returns the domain name of the authenticated principal.
      Returns:
      the domain name
      Since:
      6.5
    • getDisplayName

      public String getDisplayName()
      Deprecated.
      Returns the display name of the authenticated principal.
      Returns:
      the display name
      Since:
      6.5
    • getEmailAddress

      public String getEmailAddress()
      Deprecated.
      Returns the email address of the authenticated principal.
      Returns:
      the email address
      Since:
      6.5
    • toString

      public String toString()
      Deprecated.
      Specified by:
      toString in interface Principal
      Overrides:
      toString in class Object