Interface AuthenticationToken

    • Method Detail

      • getPrincipal

        String getPrincipal()
        Returns:
        the username submitted during an authentication attempt.
      • match

        boolean match​(AuthenticationToken trustedAuthenticationToken)
        Checks if this User-submitted AuthenticationToken matches the realm trustedAuthenticationToken.
        Parameters:
        trustedAuthenticationToken - the realm trustedAuthenticationToken
        Returns:
        if this token matches