nl.surfnet.coin.api.oauth
Class ConfigurableTokenServicesUserApprovalHandler
java.lang.Object
org.springframework.security.oauth2.provider.approval.TokenServicesUserApprovalHandler
nl.surfnet.coin.api.oauth.ConfigurableTokenServicesUserApprovalHandler
- All Implemented Interfaces:
- org.springframework.beans.factory.InitializingBean, org.springframework.security.oauth2.provider.approval.UserApprovalHandler
public class ConfigurableTokenServicesUserApprovalHandler
- extends org.springframework.security.oauth2.provider.approval.TokenServicesUserApprovalHandler
TokenServicesUserApprovalHandler that can skip consent based on the
metadata of the sp
|
Method Summary |
boolean |
isApproved(org.springframework.security.oauth2.provider.AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication)
|
void |
setClientDetailsService(org.springframework.security.oauth2.provider.ClientDetailsService clientDetailsService)
|
| Methods inherited from class org.springframework.security.oauth2.provider.approval.TokenServicesUserApprovalHandler |
afterPropertiesSet, setApprovalParameter, setTokenServices, updateBeforeApproval |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConfigurableTokenServicesUserApprovalHandler
public ConfigurableTokenServicesUserApprovalHandler()
isApproved
public boolean isApproved(org.springframework.security.oauth2.provider.AuthorizationRequest authorizationRequest,
org.springframework.security.core.Authentication userAuthentication)
- Specified by:
isApproved in interface org.springframework.security.oauth2.provider.approval.UserApprovalHandler- Overrides:
isApproved in class org.springframework.security.oauth2.provider.approval.TokenServicesUserApprovalHandler
setClientDetailsService
public void setClientDetailsService(org.springframework.security.oauth2.provider.ClientDetailsService clientDetailsService)
- Parameters:
clientDetailsService - the clientDetailsService to set
Copyright © 2009-2013 SURFnet bv, The Netherlands. All Rights Reserved.