Apache CXF API

org.apache.cxf.rs.security.oauth2.grants.clientcred
Class ClientCredentialsGrantHandler

java.lang.Object
  extended by org.apache.cxf.rs.security.oauth2.grants.AbstractGrantHandler
      extended by org.apache.cxf.rs.security.oauth2.grants.clientcred.ClientCredentialsGrantHandler
All Implemented Interfaces:
AccessTokenGrantHandler

public class ClientCredentialsGrantHandler
extends AbstractGrantHandler

The "client_credentials" grant handler


Constructor Summary
ClientCredentialsGrantHandler()
           
 
Method Summary
 ServerAccessToken createAccessToken(Client client, javax.ws.rs.core.MultivaluedMap<String,String> params)
           
 
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

ClientCredentialsGrantHandler

public ClientCredentialsGrantHandler()
Method Detail

createAccessToken

public ServerAccessToken createAccessToken(Client client,
                                           javax.ws.rs.core.MultivaluedMap<String,String> params)
                                    throws OAuthServiceException
Throws:
OAuthServiceException

Apache CXF API

Apache CXF