public abstract class AbstractImplicitGrantService extends RedirectionBasedGrantService
LOG
Modifier | Constructor and Description |
---|---|
protected |
AbstractImplicitGrantService(Set<String> supportedResponseTypes,
String supportedGrantType) |
protected |
AbstractImplicitGrantService(String supportedResponseType,
String supportedGrantType) |
authorize, authorizeDecision, authorizeDecisionForm, authorizePost, canAccessTokenBeReturned, canAuthorizationBeSkipped, completeAuthorization, createAuthorizationData, createErrorResponse, createHtmlResponse, createUserSubject, getAndValidateSecurityContext, getApprovedScope, getClient, getSupportedGrantType, getSupportedResponseTypes, isFormResponse, isRevokePreauthorizedTokenOnApproval, noConsentForRequestedScopes, personalizeData, recreateRedirectionStateFromParams, recreateRedirectionStateFromSession, setAuthorizationFilter, setHidePreauthorizedScopesInForm, setMatchRedirectUriWithApplicationUri, setMaxDefaultSessionInterval, setPartialMatchScopeValidation, setResourceOwnerNameProvider, setRevokePreauthorizedTokenOnApproval, setScopesRequiringNoConsent, setSessionAuthenticityTokenProvider, setSubjectCreator, setSupportSinglePageApplications, setUseAllClientScopes, setUseRegisteredRedirectUriIfPossible, startAuthorization, startAuthorization, validateRedirectUri
checkTransportSecurity, getDataProvider, getMessageContext, getQueryParameters, getValidClient, getValidClient, injectContextIntoOAuthProviders, isWriteOptionalParameters, reportInvalidRequestError, reportInvalidRequestError, reportInvalidRequestError, reportInvalidRequestError, setBlockUnsecureRequests, setDataProvider, setMessageContext, setWriteOptionalParameters
protected AbstractImplicitGrantService(String supportedResponseType, String supportedGrantType)
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 StringBuilder prepareRedirectResponse(OAuthRedirectionState state, Client client, List<String> requestedScope, List<String> approvedScope, UserSubject userSubject, ServerAccessToken preAuthorizedToken)
protected AbstractFormImplicitResponse prepareFormResponse(OAuthRedirectionState state, Client client, List<String> requestedScope, List<String> approvedScope, UserSubject userSubject, ServerAccessToken preAuthorizedToken)
protected ClientAccessToken getClientAccessToken(OAuthRedirectionState state, Client client, List<String> requestedScope, List<String> approvedScope, UserSubject userSubject, ServerAccessToken preAuthorizedToken)
protected AccessTokenRegistration createTokenRegistration(OAuthRedirectionState state, Client client, List<String> requestedScope, List<String> approvedScope, UserSubject userSubject)
protected void finalizeResponse(StringBuilder sb, OAuthRedirectionState state)
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
protected StringBuilder getUriWithFragment(String redirectUri)
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