org.springframework.security.oauth2.provider.endpoint
Class WhitelabelApprovalEndpoint

java.lang.Object
  extended by org.springframework.security.oauth2.provider.endpoint.WhitelabelApprovalEndpoint

@SessionAttributes(value="authorizationRequest")
public class WhitelabelApprovalEndpoint
extends Object

Controller for displaying the approval and error pages for the authorization server.

Author:
Dave Syer

Constructor Summary
WhitelabelApprovalEndpoint()
           
 
Method Summary
 ModelAndView getAccessConfirmation(Map<String,Object> model)
           
 ModelAndView handleError(HttpServletRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WhitelabelApprovalEndpoint

public WhitelabelApprovalEndpoint()
Method Detail

getAccessConfirmation

@RequestMapping(value="/oauth/confirm_access")
public ModelAndView getAccessConfirmation(Map<String,Object> model)
                                   throws Exception
Throws:
Exception

handleError

@RequestMapping(value="/oauth/error")
public ModelAndView handleError(HttpServletRequest request)


Copyright © 2012. All Rights Reserved.