Interface JWTClaimProvider

  • All Known Implementing Classes:
    AuthenticationMethodClaimProvider, EPersonClaimProvider, SpecialGroupClaimProvider

    public interface JWTClaimProvider
    Interface to be implemented if you want to add a custom claim to a JSON Web Token, annotate with @Component to include it's implementation in the token
    Author:
    Frederic Van Reet (frederic dot vanreet at atmire dot com), Tom Desair (tom dot desair at atmire dot com)
    • Method Detail

      • getValue

        Object getValue​(Context context,
                        javax.servlet.http.HttpServletRequest request)
      • parseClaim

        void parseClaim​(Context context,
                        javax.servlet.http.HttpServletRequest request,
                        com.nimbusds.jwt.JWTClaimsSet jwtClaimsSet)
                 throws SQLException
        Throws:
        SQLException