Class OidcIntrospectionEndpointController
- java.lang.Object
-
- org.apereo.cas.support.oauth.web.endpoints.BaseOAuth20Controller
-
- org.apereo.cas.support.oauth.web.endpoints.OAuth20IntrospectionEndpointController
-
- org.apereo.cas.oidc.web.controllers.introspection.OidcIntrospectionEndpointController
-
public class OidcIntrospectionEndpointController extends org.apereo.cas.support.oauth.web.endpoints.OAuth20IntrospectionEndpointControllerThis isOidcIntrospectionEndpointController.- Since:
- 5.2.0
-
-
Constructor Summary
Constructors Constructor Description OidcIntrospectionEndpointController(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.support.oauth.profile.OAuth20ProfileScopeToAttributesFilter scopeToAttributesFilter, org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.apereo.cas.web.support.CookieRetrievingCookieGenerator cookieGenerator, org.apereo.cas.CentralAuthenticationService centralAuthenticationService, org.apereo.cas.audit.AuditableExecution registeredServiceAccessStrategyEnforcer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.apereo.cas.support.oauth.web.response.introspection.OAuth20IntrospectionAccessTokenResponsecreateIntrospectionValidResponse(org.apereo.cas.support.oauth.services.OAuthRegisteredService service, org.apereo.cas.ticket.accesstoken.AccessToken ticket)org.springframework.http.ResponseEntity<org.apereo.cas.support.oauth.web.response.introspection.OAuth20IntrospectionAccessTokenResponse>handlePostRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)Handle post request.org.springframework.http.ResponseEntity<org.apereo.cas.support.oauth.web.response.introspection.OAuth20IntrospectionAccessTokenResponse>handleRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)Handle request.
-
-
-
Constructor Detail
-
OidcIntrospectionEndpointController
public OidcIntrospectionEndpointController(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.support.oauth.profile.OAuth20ProfileScopeToAttributesFilter scopeToAttributesFilter, org.apereo.cas.configuration.CasConfigurationProperties casProperties, org.apereo.cas.web.support.CookieRetrievingCookieGenerator cookieGenerator, org.apereo.cas.CentralAuthenticationService centralAuthenticationService, org.apereo.cas.audit.AuditableExecution registeredServiceAccessStrategyEnforcer)
-
-
Method Detail
-
handleRequest
@GetMapping(consumes="application/x-www-form-urlencoded", produces="application/json", value="/oidc/introspect") public org.springframework.http.ResponseEntity<org.apereo.cas.support.oauth.web.response.introspection.OAuth20IntrospectionAccessTokenResponse> handleRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)Handle request.- Overrides:
handleRequestin classorg.apereo.cas.support.oauth.web.endpoints.OAuth20IntrospectionEndpointController- Parameters:
request- the requestresponse- the response- Returns:
- the response entity
-
handlePostRequest
@PostMapping(consumes="application/x-www-form-urlencoded", produces="application/json", value="/oidc/introspect") public org.springframework.http.ResponseEntity<org.apereo.cas.support.oauth.web.response.introspection.OAuth20IntrospectionAccessTokenResponse> handlePostRequest(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)Handle post request.- Overrides:
handlePostRequestin classorg.apereo.cas.support.oauth.web.endpoints.OAuth20IntrospectionEndpointController- Parameters:
request- the requestresponse- the response- Returns:
- the response entity
-
createIntrospectionValidResponse
protected org.apereo.cas.support.oauth.web.response.introspection.OAuth20IntrospectionAccessTokenResponse createIntrospectionValidResponse(org.apereo.cas.support.oauth.services.OAuthRegisteredService service, org.apereo.cas.ticket.accesstoken.AccessToken ticket)- Overrides:
createIntrospectionValidResponsein classorg.apereo.cas.support.oauth.web.endpoints.OAuth20IntrospectionEndpointController
-
-