Class ExternalAuthenticationToken

java.lang.Object
de.businesscode.bcdui.subjectsettings.ExternalAuthenticationToken
All Implemented Interfaces:
Serializable, org.apache.shiro.authc.AuthenticationToken
Direct Known Subclasses:
OAuthToken

public class ExternalAuthenticationToken extends Object implements org.apache.shiro.authc.AuthenticationToken
this token is used in conjunction to AuthenticationFilter which authenticates a subject by any different scheme, i.e. SPNEGO
See Also:
  • Field Details

    • principal

      protected Object principal
  • Constructor Details

    • ExternalAuthenticationToken

      public ExternalAuthenticationToken(String principal)
    • ExternalAuthenticationToken

      public ExternalAuthenticationToken()
  • Method Details

    • getCredentials

      public Object getCredentials()
      Specified by:
      getCredentials in interface org.apache.shiro.authc.AuthenticationToken
    • getPrincipal

      public Object getPrincipal()
      Specified by:
      getPrincipal in interface org.apache.shiro.authc.AuthenticationToken