Apache CXF API

org.apache.cxf.rs.security.oauth2.grants.owner
Class ResourceOwnerGrantHandler

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

public class ResourceOwnerGrantHandler
extends AbstractGrantHandler

The "resource owner" grant handler


Constructor Summary
ResourceOwnerGrantHandler()
           
 
Method Summary
 ServerAccessToken createAccessToken(Client client, javax.ws.rs.core.MultivaluedMap<String,String> params)
           
 void setLoginHandler(ResourceOwnerLoginHandler loginHandler)
           
 
Methods inherited from class org.apache.cxf.rs.security.oauth2.grants.AbstractGrantHandler
checkIfGrantSupported, doCreateAccessToken, getDataProvider, getSupportedGrantTypes, setDataProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ResourceOwnerGrantHandler

public ResourceOwnerGrantHandler()
Method Detail

createAccessToken

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

setLoginHandler

public void setLoginHandler(ResourceOwnerLoginHandler loginHandler)

Apache CXF API

Apache CXF