org.apache.cxf.rs.security.oauth2.jwt.grant
Class JwtBearerGrantHandler

java.lang.Object
  extended by org.apache.cxf.rs.security.oauth2.grants.AbstractGrantHandler
      extended by org.apache.cxf.rs.security.oauth2.jwt.grant.AbstractJwtHandler
          extended by org.apache.cxf.rs.security.oauth2.jwt.grant.JwtBearerGrantHandler
All Implemented Interfaces:
org.apache.cxf.rs.security.oauth2.provider.AccessTokenGrantHandler

public class JwtBearerGrantHandler
extends AbstractJwtHandler

The "JWT Bearer" grant handler


Constructor Summary
JwtBearerGrantHandler()
           
 
Method Summary
 org.apache.cxf.rs.security.oauth2.common.ServerAccessToken createAccessToken(org.apache.cxf.rs.security.oauth2.common.Client client, javax.ws.rs.core.MultivaluedMap<String,String> params)
           
protected  JwsJwtCompactConsumer getJwsReader(String assertion)
           
 void setJwtReader(JwtTokenReader tokenReader)
           
 
Methods inherited from class org.apache.cxf.rs.security.oauth2.jwt.grant.AbstractJwtHandler
setJwsVefifier, setSupportedIssuers, validateAudience, validateClaims, validateExpiryTime, validateIssuedAtTime, validateIssuer, validateNotBeforeTime, validateSignature, validateSubject, validateTokenId
 
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
 

Constructor Detail

JwtBearerGrantHandler

public JwtBearerGrantHandler()
Method Detail

createAccessToken

public org.apache.cxf.rs.security.oauth2.common.ServerAccessToken createAccessToken(org.apache.cxf.rs.security.oauth2.common.Client client,
                                                                                    javax.ws.rs.core.MultivaluedMap<String,String> params)
                                                                             throws org.apache.cxf.rs.security.oauth2.provider.OAuthServiceException
Throws:
org.apache.cxf.rs.security.oauth2.provider.OAuthServiceException

getJwsReader

protected JwsJwtCompactConsumer getJwsReader(String assertion)

setJwtReader

public void setJwtReader(JwtTokenReader tokenReader)


Apache CXF