Class OidcAuthorizeEndpointController
- java.lang.Object
-
- org.apereo.cas.support.oauth.web.endpoints.BaseOAuth20Controller
-
- org.apereo.cas.support.oauth.web.endpoints.OAuth20AuthorizeEndpointController
-
- org.apereo.cas.oidc.web.controllers.authorize.OidcAuthorizeEndpointController
-
public class OidcAuthorizeEndpointController extends org.apereo.cas.support.oauth.web.endpoints.OAuth20AuthorizeEndpointControllerThis isOidcAuthorizeEndpointController.- Since:
- 5.0.0
-
-
Constructor Summary
Constructors Constructor Description OidcAuthorizeEndpointController(org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.ticket.registry.TicketRegistry ticketRegistry, org.apereo.cas.ticket.accesstoken.AccessTokenFactory accessTokenFactory, org.apereo.cas.authentication.principal.PrincipalFactory principalFactory, org.apereo.cas.authentication.principal.ServiceFactory<org.apereo.cas.authentication.principal.WebApplicationService> webApplicationServiceServiceFactory, org.apereo.cas.ticket.code.OAuthCodeFactory oAuthCodeFactory, org.apereo.cas.support.oauth.web.views.ConsentApprovalViewResolver consentApprovalViewResolver, org.apereo.cas.support.oauth.profile.OAuth20ProfileScopeToAttributesFilter scopeToAttributesFilter, org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.apereo.cas.web.support.CookieRetrievingCookieGenerator ticketGrantingTicketCookieGenerator, org.apereo.cas.support.oauth.authenticator.OAuth20CasAuthenticationBuilder authenticationBuilder, java.util.Set<org.apereo.cas.support.oauth.web.response.callback.OAuth20AuthorizationResponseBuilder> oauthAuthorizationResponseBuilders, java.util.Set<org.apereo.cas.support.oauth.validator.authorization.OAuth20AuthorizationRequestValidator> oauthRequestValidators, org.apereo.cas.audit.AuditableExecution registeredServiceAccessStrategyEnforcer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.springframework.web.servlet.ViewbuildAuthorizationForRequest(org.apereo.cas.support.oauth.services.OAuthRegisteredService registeredService, org.pac4j.core.context.J2EContext context, java.lang.String clientId, org.apereo.cas.authentication.principal.Service service, org.apereo.cas.authentication.Authentication authentication)org.springframework.web.servlet.ModelAndViewhandleRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)org.springframework.web.servlet.ModelAndViewhandleRequestPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
-
-
-
Constructor Detail
-
OidcAuthorizeEndpointController
public OidcAuthorizeEndpointController(org.apereo.cas.services.ServicesManager servicesManager, org.apereo.cas.ticket.registry.TicketRegistry ticketRegistry, org.apereo.cas.ticket.accesstoken.AccessTokenFactory accessTokenFactory, org.apereo.cas.authentication.principal.PrincipalFactory principalFactory, org.apereo.cas.authentication.principal.ServiceFactory<org.apereo.cas.authentication.principal.WebApplicationService> webApplicationServiceServiceFactory, org.apereo.cas.ticket.code.OAuthCodeFactory oAuthCodeFactory, org.apereo.cas.support.oauth.web.views.ConsentApprovalViewResolver consentApprovalViewResolver, org.apereo.cas.support.oauth.profile.OAuth20ProfileScopeToAttributesFilter scopeToAttributesFilter, org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.apereo.cas.web.support.CookieRetrievingCookieGenerator ticketGrantingTicketCookieGenerator, org.apereo.cas.support.oauth.authenticator.OAuth20CasAuthenticationBuilder authenticationBuilder, java.util.Set<org.apereo.cas.support.oauth.web.response.callback.OAuth20AuthorizationResponseBuilder> oauthAuthorizationResponseBuilders, java.util.Set<org.apereo.cas.support.oauth.validator.authorization.OAuth20AuthorizationRequestValidator> oauthRequestValidators, org.apereo.cas.audit.AuditableExecution registeredServiceAccessStrategyEnforcer)
-
-
Method Detail
-
handleRequest
@GetMapping("/oidc/authorize") public org.springframework.web.servlet.ModelAndView handleRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception- Overrides:
handleRequestin classorg.apereo.cas.support.oauth.web.endpoints.OAuth20AuthorizeEndpointController- Throws:
java.lang.Exception
-
handleRequestPost
@PostMapping("/oidc/authorize") public org.springframework.web.servlet.ModelAndView handleRequestPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception- Overrides:
handleRequestPostin classorg.apereo.cas.support.oauth.web.endpoints.OAuth20AuthorizeEndpointController- Throws:
java.lang.Exception
-
buildAuthorizationForRequest
protected org.springframework.web.servlet.View buildAuthorizationForRequest(org.apereo.cas.support.oauth.services.OAuthRegisteredService registeredService, org.pac4j.core.context.J2EContext context, java.lang.String clientId, org.apereo.cas.authentication.principal.Service service, org.apereo.cas.authentication.Authentication authentication)- Overrides:
buildAuthorizationForRequestin classorg.apereo.cas.support.oauth.web.endpoints.OAuth20AuthorizeEndpointController
-
-