Class JwtBearerGrantHandler
- java.lang.Object
-
- org.apache.cxf.rs.security.oauth2.grants.AbstractGrantHandler
-
- org.apache.cxf.rs.security.oauth2.grants.jwt.AbstractJwtHandler
-
- org.apache.cxf.rs.security.oauth2.grants.jwt.JwtBearerGrantHandler
-
- All Implemented Interfaces:
AccessTokenGrantHandler
public class JwtBearerGrantHandler extends AbstractJwtHandler
The "JWT Bearer" grant handler
-
-
Field Summary
-
Fields inherited from class org.apache.cxf.rs.security.oauth2.grants.AbstractGrantHandler
LOG
-
-
Constructor Summary
Constructors Constructor Description JwtBearerGrantHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerAccessTokencreateAccessToken(Client client, javax.ws.rs.core.MultivaluedMap<String,String> params)protected JwsJwtCompactConsumergetJwsReader(String assertion)-
Methods inherited from class org.apache.cxf.rs.security.oauth2.grants.jwt.AbstractJwtHandler
getAudience, getClockOffset, getInitializedSigVerifier, getTtl, setAudience, setClockOffset, setJwsVerifier, setSupportedIssuers, setTtl, validateClaims, validateIssuer, validateSignature, validateSubject
-
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, setPartialMatchScopeValidation
-
-
-
-
Method Detail
-
createAccessToken
public ServerAccessToken createAccessToken(Client client, javax.ws.rs.core.MultivaluedMap<String,String> params) throws OAuthServiceException
- Throws:
OAuthServiceException
-
getJwsReader
protected JwsJwtCompactConsumer getJwsReader(String assertion)
-
-