Class GuestAuthenticationToken

  • All Implemented Interfaces:
    Serializable, Principal, org.springframework.security.core.Authentication, org.springframework.security.core.CredentialsContainer

    public class GuestAuthenticationToken
    extends org.springframework.security.authentication.AbstractAuthenticationToken
    See Also:
    Serialized Form
    • Constructor Detail

      • GuestAuthenticationToken

        public GuestAuthenticationToken​(String clientToken)
      • GuestAuthenticationToken

        public GuestAuthenticationToken​(org.springframework.security.core.userdetails.UserDetails userDetails)
    • Method Detail

      • getCredentials

        public Object getCredentials()
        Always returns an empty String
        Returns:
        an empty String
      • getPrincipal

        public Object getPrincipal()