public abstract class AbstractImplicitGrantService extends RedirectionBasedGrantService
LOG
Modifier | Constructor and Description |
---|---|
protected |
AbstractImplicitGrantService(String supportedResponseType,
String supportedGrantType) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canRedirectUriBeEmpty(Client c) |
protected boolean |
canSupportPublicClient(Client c) |
protected javax.ws.rs.core.Response |
createErrorResponse(String state,
String redirectUri,
String error) |
protected javax.ws.rs.core.Response |
createGrant(OAuthRedirectionState state,
Client client,
List<String> requestedScope,
List<String> approvedScope,
UserSubject userSubject,
ServerAccessToken preAuthorizedToken) |
protected void |
processClientAccessToken(ClientAccessToken clientToken,
ServerAccessToken serverToken) |
protected void |
processRefreshToken(StringBuilder sb,
String refreshToken) |
void |
setReportClientId(boolean reportClientId) |
void |
setResponseFilter(AccessTokenResponseFilter responseHandler) |
void |
setResponseFilters(List<AccessTokenResponseFilter> handlers) |
authorize, authorizeDecision, authorizeDecisionForm, completeAuthorization, createAuthorizationData, createErrorResponse, createUserSubject, getAndValidateSecurityContext, getClient, getClient, getSupportedGrantType, personalizeData, recreateRedirectionStateFromSession, setMatchRedirectUriWithApplicationUri, setMaxDefaultSessionInterval, setPartialMatchScopeValidation, setResourceOwnerNameProvider, setSessionAuthenticityTokenProvider, setSubjectCreator, setUseRegisteredRedirectUriIfPossible, startAuthorization, startAuthorization, validateRedirectUri
checkTransportSecurity, getDataProvider, getMessageContext, getQueryParameters, getValidClient, getValidClient, isWriteOptionalParameters, reportInvalidRequestError, reportInvalidRequestError, reportInvalidRequestError, reportInvalidRequestError, setBlockUnsecureRequests, setDataProvider, setMessageContext, setWriteOptionalParameters
protected javax.ws.rs.core.Response createGrant(OAuthRedirectionState state, Client client, List<String> requestedScope, List<String> approvedScope, UserSubject userSubject, ServerAccessToken preAuthorizedToken)
createGrant
in class RedirectionBasedGrantService
protected void processRefreshToken(StringBuilder sb, String refreshToken)
protected void processClientAccessToken(ClientAccessToken clientToken, ServerAccessToken serverToken)
protected javax.ws.rs.core.Response createErrorResponse(String state, String redirectUri, String error)
createErrorResponse
in class RedirectionBasedGrantService
public void setReportClientId(boolean reportClientId)
public void setResponseFilters(List<AccessTokenResponseFilter> handlers)
public void setResponseFilter(AccessTokenResponseFilter responseHandler)
protected boolean canRedirectUriBeEmpty(Client c)
canRedirectUriBeEmpty
in class RedirectionBasedGrantService
protected boolean canSupportPublicClient(Client c)
canSupportPublicClient
in class RedirectionBasedGrantService
Apache CXF