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, wait
createAccessToken
protected static final Logger LOG
protected 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, javax.ws.rs.core.MultivaluedMap<String,String> params)
protected ServerAccessToken doCreateAccessToken(Client client, UserSubject subject, List<String> requestedScope)
protected ServerAccessToken doCreateAccessToken(Client client, UserSubject subject, List<String> requestedScope, List<String> approvedScope, String audience)
protected ServerAccessToken doCreateAccessToken(Client client, UserSubject subject, String requestedGrant, List<String> requestedScope)
protected ServerAccessToken doCreateAccessToken(Client client, UserSubject subject, String requestedGrant, List<String> requestedScope, List<String> approvedScope, String audience)
public void setPartialMatchScopeValidation(boolean partialMatchScopeValidation)
public void setCanSupportPublicClients(boolean support)
public boolean isCanSupportPublicClients()
Apache CXF