public class OidcProfileEndpointController extends OAuth20ProfileController
OidcProfileEndpointController
.logger, servicesManager, ticketRegistry, validator
Constructor and Description |
---|
OidcProfileEndpointController() |
Modifier and Type | Method and Description |
---|---|
protected org.springframework.http.ResponseEntity<java.lang.String> |
handleRequestInternal(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handle request internal response entity.
|
protected java.util.Map<java.lang.String,java.lang.Object> |
writeOutProfileResponse(Authentication authentication,
Principal principal)
Write out profile response.
|
createAuthentication, createService, generateAccessToken, getAccessTokenFactory, getPrincipalFactory, getServicesManager, getTicketRegistry, getValidator, setAccessTokenFactory, setPrincipalFactory, setServicesManager, setTicketRegistry, setValidator
@RequestMapping(value="/oidc/profile", method=GET, produces="application/json") protected org.springframework.http.ResponseEntity<java.lang.String> handleRequestInternal(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws java.lang.Exception
OAuth20ProfileController
handleRequestInternal
in class OAuth20ProfileController
request
- the requestresponse
- the responsejava.lang.Exception
- the exceptionprotected java.util.Map<java.lang.String,java.lang.Object> writeOutProfileResponse(Authentication authentication, Principal principal) throws java.io.IOException
OAuth20ProfileController
writeOutProfileResponse
in class OAuth20ProfileController
authentication
- the authenticationprincipal
- the principaljava.io.IOException
- the io exception