public class OAuth20CallbackAuthorizeEndpointController extends BaseOAuth20Controller
accessTokenFactory, casProperties, principalFactory, scopeToAttributesFilter, servicesManager, ticketGrantingTicketCookieGenerator, ticketRegistry, validator, webApplicationServiceServiceFactory| Constructor and Description |
|---|
OAuth20CallbackAuthorizeEndpointController(org.apereo.cas.services.ServicesManager servicesManager,
org.apereo.cas.ticket.registry.TicketRegistry ticketRegistry,
OAuth20Validator validator,
AccessTokenFactory accessTokenFactory,
org.apereo.cas.authentication.principal.PrincipalFactory principalFactory,
org.apereo.cas.authentication.principal.ServiceFactory<org.apereo.cas.authentication.principal.WebApplicationService> webApplicationServiceServiceFactory,
org.pac4j.core.config.Config config,
org.pac4j.springframework.web.CallbackController callbackController,
OAuth20CallbackAuthorizeViewResolver oAuth20CallbackAuthorizeViewResolver,
OAuth20ProfileScopeToAttributesFilter scopeToAttributesFilter,
org.apereo.cas.configuration.CasConfigurationProperties casProperties,
org.apereo.cas.web.support.CookieRetrievingCookieGenerator cookieGenerator) |
| Modifier and Type | Method and Description |
|---|---|
org.springframework.web.servlet.ModelAndView |
handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handle request.
|
addTicketToRegistry, generateAccessTokenpublic OAuth20CallbackAuthorizeEndpointController(org.apereo.cas.services.ServicesManager servicesManager,
org.apereo.cas.ticket.registry.TicketRegistry ticketRegistry,
OAuth20Validator validator,
AccessTokenFactory accessTokenFactory,
org.apereo.cas.authentication.principal.PrincipalFactory principalFactory,
org.apereo.cas.authentication.principal.ServiceFactory<org.apereo.cas.authentication.principal.WebApplicationService> webApplicationServiceServiceFactory,
org.pac4j.core.config.Config config,
org.pac4j.springframework.web.CallbackController callbackController,
OAuth20CallbackAuthorizeViewResolver oAuth20CallbackAuthorizeViewResolver,
OAuth20ProfileScopeToAttributesFilter scopeToAttributesFilter,
org.apereo.cas.configuration.CasConfigurationProperties casProperties,
org.apereo.cas.web.support.CookieRetrievingCookieGenerator cookieGenerator)
@GetMapping(path="/oauth2.0/callbackAuthorize")
public org.springframework.web.servlet.ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws java.lang.Exception
request - the requestresponse - the responsejava.lang.Exception - the exception