nl.surfnet.coin.api.oauth
Class ConfigurableTokenServicesUserApprovalHandler

java.lang.Object
  extended by org.springframework.security.oauth2.provider.approval.TokenServicesUserApprovalHandler
      extended by 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


Constructor Summary
ConfigurableTokenServicesUserApprovalHandler()
           
 
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
 

Constructor Detail

ConfigurableTokenServicesUserApprovalHandler

public ConfigurableTokenServicesUserApprovalHandler()
Method Detail

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.