public abstract class AbstractGrantHandler extends Object implements AccessTokenGrantHandler
| Modifier | Constructor and Description | 
|---|---|
protected  | 
AbstractGrantHandler(List<String> grants)  | 
protected  | 
AbstractGrantHandler(String grant)  | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateAccessTokenprotected static final Logger LOG
protected AbstractGrantHandler(String grant)
public void setDataProvider(OAuthDataProvider dataProvider)
public OAuthDataProvider getDataProvider()
public List<String> getSupportedGrantTypes()
getSupportedGrantTypes in interface AccessTokenGrantHandlerprotected String getSingleGrantType()
protected ServerAccessToken doCreateAccessToken(Client client, UserSubject subject, javax.ws.rs.core.MultivaluedMap<String,String> params)
protected ServerAccessToken doCreateAccessToken(Client client, UserSubject subject, List<String> requestedScopes)
protected ServerAccessToken doCreateAccessToken(Client client, UserSubject subject, List<String> requestedScopes, List<String> audiences)
protected ServerAccessToken doCreateAccessToken(Client client, UserSubject subject, String requestedGrant, List<String> requestedScopes)
protected ServerAccessToken doCreateAccessToken(Client client, UserSubject subject, String requestedGrant, List<String> requestedScopes, List<String> audiences)
protected List<String> getApprovedScopes(Client client, UserSubject subject, List<String> requestedScopes)
protected ServerAccessToken getPreAuthorizedToken(Client client, UserSubject subject, String requestedGrant, List<String> requestedScopes, List<String> audiences)
public boolean isPartialMatchScopeValidation()
public void setPartialMatchScopeValidation(boolean partialMatchScopeValidation)
public void setCanSupportPublicClients(boolean support)
public boolean isCanSupportPublicClients()
Apache CXF