Package org.dspace.app.rest.security.jwt
Interface JWTClaimProvider
-
- All Known Implementing Classes:
AuthenticationMethodClaimProvider,EPersonClaimProvider,SpecialGroupClaimProvider
public interface JWTClaimProviderInterface 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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetKey()ObjectgetValue(Context context, javax.servlet.http.HttpServletRequest request)voidparseClaim(Context context, javax.servlet.http.HttpServletRequest request, com.nimbusds.jwt.JWTClaimsSet jwtClaimsSet)
-
-
-
Method Detail
-
getKey
String getKey()
-
parseClaim
void parseClaim(Context context, javax.servlet.http.HttpServletRequest request, com.nimbusds.jwt.JWTClaimsSet jwtClaimsSet) throws SQLException
- Throws:
SQLException
-
-