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