Class BearerAuthorizationToken


  • public class BearerAuthorizationToken
    extends AuthorizationToken
    Implementation of the standard RFC 6750 Bearer authentication scheme token No additional parsing is done on the bearer token and the user is expected to implement their own verification on the token value that can be retrieved from the AuthorizationToken.getToken() method.
    Author:
    odeda
    • Constructor Detail

      • BearerAuthorizationToken

        public BearerAuthorizationToken()
      • BearerAuthorizationToken

        public BearerAuthorizationToken​(String token)
    • Method Detail

      • supports

        protected boolean supports​(String type)
        Description copied from class: AuthorizationToken
        Check whether an AuthorizationToken implementation supports the speciefied IANA HTTP Authentication Scheme Name
        Overrides:
        supports in class AuthorizationToken
        Parameters:
        type - IANA HTTP Authentication Scheme Name
        Returns:
        whether this implementation supports the specified name