Interface AuthenticationToken

All Known Implementing Classes:
BearerToken, ServiceAccountToken, UsernamePasswordToken

public interface AuthenticationToken
Interface for a token that is used for authentication. This token is the representation of the authentication information that is presented with a request. The token will be extracted by a Realm and subsequently used by a Realm to attempt authentication of a user.
  • Method Details

    • principal

      String principal()
    • credentials

      Object credentials()
    • clearCredentials

      void clearCredentials()