nl.surfnet.coin.api.controller
Class Oauth1AccessConfirmationController

java.lang.Object
  extended by nl.surfnet.coin.api.controller.Oauth1AccessConfirmationController

@Controller
public class Oauth1AccessConfirmationController
extends Object

Controller for retrieving the model for and displaying the confirmation page for access to a protected resource.

Author:
Ryan Heaton, Dave Syer

Constructor Summary
Oauth1AccessConfirmationController()
           
 
Method Summary
 org.springframework.web.servlet.ModelAndView getAccessConfirmation(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void setClientDetailsService(org.springframework.security.oauth.provider.ConsumerDetailsService clientDetailsService)
           
 void setTokenServices(org.springframework.security.oauth.provider.token.OAuthProviderTokenServices tokenServices)
           
 void setUserAuthorizationProcessingFilter(org.springframework.security.oauth.provider.filter.UserAuthorizationProcessingFilter userAuthorizationProcessingFilter)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Oauth1AccessConfirmationController

public Oauth1AccessConfirmationController()
Method Detail

getAccessConfirmation

@RequestMapping(value="/oauth1/confirm_access")
public org.springframework.web.servlet.ModelAndView getAccessConfirmation(javax.servlet.http.HttpServletRequest request,
                                                                                         javax.servlet.http.HttpServletResponse response)
                                                                   throws Exception
Throws:
Exception

setTokenServices

public void setTokenServices(org.springframework.security.oauth.provider.token.OAuthProviderTokenServices tokenServices)

setClientDetailsService

public void setClientDetailsService(org.springframework.security.oauth.provider.ConsumerDetailsService clientDetailsService)

setUserAuthorizationProcessingFilter

public void setUserAuthorizationProcessingFilter(org.springframework.security.oauth.provider.filter.UserAuthorizationProcessingFilter userAuthorizationProcessingFilter)
Parameters:
userAuthorizationProcessingFilter - the userAuthorizationProcessingFilter to set


Copyright © 2009-2013 SURFnet bv, The Netherlands. All Rights Reserved.