Class ResourceOwnerGrantHandler
- java.lang.Object
-
- org.apache.cxf.rs.security.oauth2.grants.AbstractGrantHandler
-
- org.apache.cxf.rs.security.oauth2.grants.owner.ResourceOwnerGrantHandler
-
- All Implemented Interfaces:
AccessTokenGrantHandler
public class ResourceOwnerGrantHandler extends AbstractGrantHandler
The "resource owner" grant handler
-
-
Field Summary
-
Fields inherited from class org.apache.cxf.rs.security.oauth2.grants.AbstractGrantHandler
LOG
-
-
Constructor Summary
Constructors Constructor Description ResourceOwnerGrantHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ServerAccessTokencreateAccessToken(Client client, javax.ws.rs.core.MultivaluedMap<String,String> params)ResourceOwnerLoginHandlergetLoginHandler()voidsetLoginHandler(ResourceOwnerLoginHandler loginHandler)voidsetMessageContext(MessageContext context)-
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
-
getLoginHandler
public ResourceOwnerLoginHandler getLoginHandler()
-
setLoginHandler
public void setLoginHandler(ResourceOwnerLoginHandler loginHandler)
-
setMessageContext
public void setMessageContext(MessageContext context)
-
-