Interface JWTSSOProvider
- All Superinterfaces:
com.nimbusds.jose.jca.JCAAware<com.nimbusds.jose.jca.JCAContext>,com.nimbusds.jose.JOSEProvider,com.nimbusds.jose.JWSProvider,com.nimbusds.jose.JWSVerifier
- All Known Implementing Classes:
CustomJWTSSOProvider,MSEntraJWTSSOProvider,SyncopeJWTSSOProvider
public interface JWTSSOProvider
extends com.nimbusds.jose.JWSVerifier
Enables a generic mechanism for JWT validation and subject resolution which allows to plug in implementations
recognizing JWT produced by third parties.
-
Method Summary
Methods inherited from interface com.nimbusds.jose.jca.JCAAware
getJCAContextMethods inherited from interface com.nimbusds.jose.JWSProvider
supportedJWSAlgorithmsMethods inherited from interface com.nimbusds.jose.JWSVerifier
verify
-
Method Details
-
getIssuer
String getIssuer()Gives the identifier for the JWT issuer verified by this instance.- Returns:
- identifier for the JWT issuer verified by this instance
-
resolve
Attempts to resolve the given JWT claims into internalUserand authorities. IMPORTANT: this is not invoked for theadminsuper-user.- Parameters:
jwtClaims- JWT claims- Returns:
- internal User, with authorities, matching the provided JWT claims, if found; otherwise null
-