Class ExternalAuthenticationToken

  • All Implemented Interfaces:
    java.io.Serializable, org.apache.shiro.authc.AuthenticationToken
    Direct Known Subclasses:
    OAuthToken

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

      • principal

        protected java.lang.Object principal
    • Constructor Detail

      • ExternalAuthenticationToken

        public ExternalAuthenticationToken​(java.lang.String principal)
      • ExternalAuthenticationToken

        public ExternalAuthenticationToken()
    • Method Detail

      • getCredentials

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

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