org.springframework.security.oauth.examples.sparklr.mvc
Class AccessConfirmationController

java.lang.Object
  extended by org.springframework.security.oauth.examples.sparklr.mvc.AccessConfirmationController

@Controller
public class AccessConfirmationController
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
AccessConfirmationController()
           
 
Method Summary
 ModelAndView getAccessConfirmation(HttpServletRequest request, HttpServletResponse response)
           
 void setConsumerDetailsService(ConsumerDetailsService consumerDetailsService)
           
 void setTokenServices(OAuthProviderTokenServices tokenServices)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccessConfirmationController

public AccessConfirmationController()
Method Detail

getAccessConfirmation

@RequestMapping(value="/oauth/confirm_access")
public ModelAndView getAccessConfirmation(HttpServletRequest request,
                                                              HttpServletResponse response)
                                   throws Exception
Throws:
Exception

setTokenServices

public void setTokenServices(OAuthProviderTokenServices tokenServices)

setConsumerDetailsService

public void setConsumerDetailsService(ConsumerDetailsService consumerDetailsService)


Copyright © 2012. All Rights Reserved.