org.apache.cxf.rs.security.oauth2.jwt.grant
Class AbstractJwtHandler
java.lang.Object
org.apache.cxf.rs.security.oauth2.grants.AbstractGrantHandler
org.apache.cxf.rs.security.oauth2.jwt.grant.AbstractJwtHandler
- All Implemented Interfaces:
- org.apache.cxf.rs.security.oauth2.provider.AccessTokenGrantHandler
- Direct Known Subclasses:
- JwtBearerGrantHandler
public abstract class AbstractJwtHandler
- extends org.apache.cxf.rs.security.oauth2.grants.AbstractGrantHandler
The "JWT Bearer" grant handler
| Methods inherited from class org.apache.cxf.rs.security.oauth2.grants.AbstractGrantHandler |
checkIfGrantSupported, doCreateAccessToken, doCreateAccessToken, doCreateAccessToken, doCreateAccessToken, doCreateAccessToken, getDataProvider, getSupportedGrantTypes, isCanSupportPublicClients, setCanSupportPublicClients, setDataProvider, setPartialMatchScopeValidation |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.cxf.rs.security.oauth2.provider.AccessTokenGrantHandler |
createAccessToken |
AbstractJwtHandler
protected AbstractJwtHandler(List<String> grants)
validateSignature
protected void validateSignature(JwtHeaders headers,
String unsignedText,
byte[] signature)
validateClaims
protected void validateClaims(org.apache.cxf.rs.security.oauth2.common.Client client,
JwtClaims claims)
validateIssuer
protected void validateIssuer(String issuer)
validateSubject
protected void validateSubject(org.apache.cxf.rs.security.oauth2.common.Client client,
String subject)
validateAudience
protected void validateAudience(org.apache.cxf.rs.security.oauth2.common.Client client,
String audience)
validateExpiryTime
protected void validateExpiryTime(Integer timestamp)
validateNotBeforeTime
protected void validateNotBeforeTime(Integer timestamp)
validateIssuedAtTime
protected void validateIssuedAtTime(Integer timestamp)
validateTokenId
protected void validateTokenId(String tokenId)
setSupportedIssuers
public void setSupportedIssuers(Set<String> supportedIssuers)
setJwsVefifier
public void setJwsVefifier(JwsSignatureVerifier jwsVefifier)
Apache CXF