public class JwtBearerAuthHandler extends OAuthServerJoseJwtConsumer implements javax.ws.rs.container.ContainerRequestFilter
Constructor and Description |
---|
JwtBearerAuthHandler() |
Modifier and Type | Method and Description |
---|---|
protected SecurityContext |
configureSecurityContext(JwtToken token) |
void |
filter(javax.ws.rs.container.ContainerRequestContext context) |
boolean |
isValidateAudience() |
void |
setClientProvider(ClientRegistrationProvider clientProvider) |
void |
setValidateAudience(boolean validateAudience) |
protected void |
validateToken(JwtToken jwt) |
getInitializedDecryptionProvider, getInitializedSignatureVerifier, getJwtToken, setVerifyWithClientCertificates
getInitializedDecryptionProvider, getInitializedSignatureVerifier, getJwtToken, isDecryptWithClientSecret, isVerifyWithClientSecret, setDecryptWithClientSecret, setVerifyWithClientSecret
getClockOffset, getInitializedSignatureVerifier, getJwtToken, getJwtToken, getTtl, setClockOffset, setTtl
checkProcessRequirements, getInitializedDecryptionProvider, getInitializedSignatureVerifier, getJweDecryptor, getJwsVerifier, isJweRequired, isJwsRequired, setJweDecryptor, setJweRequired, setJwsRequired, setJwsVerifier
public void filter(javax.ws.rs.container.ContainerRequestContext context)
filter
in interface javax.ws.rs.container.ContainerRequestFilter
protected SecurityContext configureSecurityContext(JwtToken token)
protected void validateToken(JwtToken jwt)
validateToken
in class JoseJwtConsumer
public void setClientProvider(ClientRegistrationProvider clientProvider)
public boolean isValidateAudience()
public void setValidateAudience(boolean validateAudience)
Apache CXF