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 Summary

    Modifier and Type
    Method
    Description
     
    getValue(Context context, jakarta.servlet.http.HttpServletRequest request)
     
    void
    parseClaim(Context context, jakarta.servlet.http.HttpServletRequest request, com.nimbusds.jwt.JWTClaimsSet jwtClaimsSet)
     
  • Method Details

    • getKey

      String getKey()
    • getValue

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

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