Class AbstractJwtHandler
java.lang.Object
org.apache.cxf.rs.security.oauth2.grants.AbstractGrantHandler
org.apache.cxf.rs.security.oauth2.grants.jwt.AbstractJwtHandler
- All Implemented Interfaces:
AccessTokenGrantHandler
- Direct Known Subclasses:
JwtBearerGrantHandler
The "JWT Bearer" grant handler
-
Field Summary
Fields inherited from class org.apache.cxf.rs.security.oauth2.grants.AbstractGrantHandler
LOG -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintprotected JwsSignatureVerifiergetInitializedSigVerifier(JwsHeaders headers) intgetTtl()voidsetAudience(String audience) voidsetClockOffset(int clockOffset) voidsetJwsVerifier(JwsSignatureVerifier jwsVerifier) voidsetSupportedIssuers(Set<String> supportedIssuers) voidsetTtl(int ttl) protected voidvalidateClaims(Client client, JwtClaims claims) protected voidvalidateIssuer(String issuer) protected voidvalidateSignature(JwsHeaders headers, String unsignedText, byte[] signature) protected voidvalidateSubject(Client client, String subject) Methods inherited from class org.apache.cxf.rs.security.oauth2.grants.AbstractGrantHandler
doCreateAccessToken, doCreateAccessToken, doCreateAccessToken, doCreateAccessToken, doCreateAccessToken, getApprovedScopes, getAudiences, getDataProvider, getPreAuthorizedToken, getSingleGrantType, getSupportedGrantTypes, isCanSupportPublicClients, isPartialMatchScopeValidation, setCanSupportPublicClients, setDataProvider, setPartialMatchScopeValidationMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cxf.rs.security.oauth2.provider.AccessTokenGrantHandler
createAccessToken
-
Constructor Details
-
AbstractJwtHandler
-
-
Method Details
-
validateSignature
-
validateClaims
-
validateIssuer
-
validateSubject
-
setSupportedIssuers
-
setJwsVerifier
-
getInitializedSigVerifier
-
getTtl
public int getTtl() -
setTtl
public void setTtl(int ttl) -
getClockOffset
public int getClockOffset() -
setClockOffset
public void setClockOffset(int clockOffset) -
getAudience
-
setAudience
-