public abstract class AbstractGrantHandler extends Object implements AccessTokenGrantHandler
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractGrantHandler(List<String> grants) |
protected |
AbstractGrantHandler(String grant) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkIfGrantSupported(Client client)
Deprecated.
|
protected ServerAccessToken |
doCreateAccessToken(Client client,
UserSubject subject,
List<String> requestedScope) |
protected ServerAccessToken |
doCreateAccessToken(Client client,
UserSubject subject,
String requestedGrant,
List<String> requestedScope) |
OAuthDataProvider |
getDataProvider() |
List<String> |
getSupportedGrantTypes() |
boolean |
isCanSupportPublicClients() |
void |
setCanSupportPublicClients(boolean support) |
void |
setDataProvider(OAuthDataProvider dataProvider) |
void |
setPartialMatchScopeValidation(boolean partialMatchScopeValidation) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreateAccessTokenprotected AbstractGrantHandler(String grant)
public void setDataProvider(OAuthDataProvider dataProvider)
public OAuthDataProvider getDataProvider()
public List<String> getSupportedGrantTypes()
getSupportedGrantTypes in interface AccessTokenGrantHandler@Deprecated protected void checkIfGrantSupported(Client client)
protected ServerAccessToken doCreateAccessToken(Client client, UserSubject subject, List<String> requestedScope)
protected ServerAccessToken doCreateAccessToken(Client client, UserSubject subject, String requestedGrant, List<String> requestedScope)
public void setPartialMatchScopeValidation(boolean partialMatchScopeValidation)
public void setCanSupportPublicClients(boolean support)
public boolean isCanSupportPublicClients()
Apache CXF