@Controller @SessionAttributes(value="authorizationRequest") public class OAuthConfirmationController extends Object
Constructor and Description |
---|
OAuthConfirmationController() |
OAuthConfirmationController(ClientDetailsEntityService clientService) |
Modifier and Type | Method and Description |
---|---|
String |
confimAccess(Map<String,Object> model,
org.springframework.security.oauth2.provider.AuthorizationRequest authRequest,
Principal p) |
ClientDetailsEntityService |
getClientService() |
void |
setClientService(ClientDetailsEntityService clientService) |
public OAuthConfirmationController()
public OAuthConfirmationController(ClientDetailsEntityService clientService)
@PreAuthorize(value="hasRole(\'ROLE_USER\')") @RequestMapping(value="/oauth/confirm_access") public String confimAccess(Map<String,Object> model, @ModelAttribute(value="authorizationRequest") org.springframework.security.oauth2.provider.AuthorizationRequest authRequest, Principal p)
public ClientDetailsEntityService getClientService()
public void setClientService(ClientDetailsEntityService clientService)
clientService
- the clientService to setCopyright © 2018. All rights reserved.