public abstract class AbstractJwtHandler extends AbstractGrantHandler
LOG
Modifier | Constructor and Description |
---|---|
protected |
AbstractJwtHandler(List<String> grants) |
Modifier and Type | Method and Description |
---|---|
String |
getAudience() |
int |
getClockOffset() |
protected JwsSignatureVerifier |
getInitializedSigVerifier(JwsHeaders headers) |
int |
getTtl() |
void |
setAudience(String audience) |
void |
setClockOffset(int clockOffset) |
void |
setJwsVerifier(JwsSignatureVerifier jwsVerifier) |
void |
setSupportedIssuers(Set<String> supportedIssuers) |
void |
setTtl(int ttl) |
protected void |
validateClaims(Client client,
JwtClaims claims) |
protected void |
validateIssuer(String issuer) |
protected void |
validateSignature(JwsHeaders headers,
String unsignedText,
byte[] signature) |
protected void |
validateSubject(Client client,
String subject) |
doCreateAccessToken, doCreateAccessToken, doCreateAccessToken, doCreateAccessToken, doCreateAccessToken, getApprovedScopes, getAudiences, getDataProvider, getPreAuthorizedToken, getSingleGrantType, getSupportedGrantTypes, isCanSupportPublicClients, isPartialMatchScopeValidation, setCanSupportPublicClients, setDataProvider, setPartialMatchScopeValidation
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
createAccessToken
protected void validateSignature(JwsHeaders headers, String unsignedText, byte[] signature)
protected void validateIssuer(String issuer)
public void setJwsVerifier(JwsSignatureVerifier jwsVerifier)
protected JwsSignatureVerifier getInitializedSigVerifier(JwsHeaders headers)
public int getTtl()
public void setTtl(int ttl)
public int getClockOffset()
public void setClockOffset(int clockOffset)
public String getAudience()
public void setAudience(String audience)
Apache CXF