public class OAuth20CallbackAuthorizeEndpointController extends BaseOAuth20Controller
accessTokenFactory, casProperties, principalFactory, scopeToAttributesFilter, servicesManager, ticketGrantingTicketCookieGenerator, ticketRegistry, webApplicationServiceServiceFactory| Constructor and Description |
|---|
OAuth20CallbackAuthorizeEndpointController(org.apereo.cas.services.ServicesManager servicesManager,
org.apereo.cas.ticket.registry.TicketRegistry ticketRegistry,
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,
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.
|
public OAuth20CallbackAuthorizeEndpointController(org.apereo.cas.services.ServicesManager servicesManager,
org.apereo.cas.ticket.registry.TicketRegistry ticketRegistry,
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,
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)
request - the requestresponse - the response