public class CompositeResponseTypesHandler extends Object implements ResponseTypesHandler
| Constructor and Description |
|---|
CompositeResponseTypesHandler(List<ResponseTypesHandler> responseTypesHandlers) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canHandleResponseTypes(Set<String> responseTypes)
Fail-fast method for finding out if the set of responses can be handled by this ResponseTypesHandler
|
org.springframework.web.servlet.ModelAndView |
handleApprovedAuthorizationRequest(Set<String> responseTypes,
AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication authentication,
AuthorizationCodeServices authorizationCodeServices)
Handle the authorization request for the given responseTypes
|
public CompositeResponseTypesHandler(List<ResponseTypesHandler> responseTypesHandlers)
public boolean canHandleResponseTypes(Set<String> responseTypes)
ResponseTypesHandlercanHandleResponseTypes in interface ResponseTypesHandlerresponseTypes - the response types of an authorize requestpublic org.springframework.web.servlet.ModelAndView handleApprovedAuthorizationRequest(Set<String> responseTypes, AuthorizationRequest authorizationRequest, org.springframework.security.core.Authentication authentication, AuthorizationCodeServices authorizationCodeServices)
ResponseTypesHandlerhandleApprovedAuthorizationRequest in interface ResponseTypesHandlerresponseTypes - the reponse types requested by the authorizationauthorizationRequest - the approved AuthorizationRequestauthentication - the authenticated userauthorizationCodeServices - responsible for creating the authorization codeCopyright © 2016. All rights reserved.