org.apache.amber.oauth2.client.demo.controller
Class AuthzController

java.lang.Object
  extended by org.apache.amber.oauth2.client.demo.controller.AuthzController

@Controller
@RequestMapping(value="/")
public class AuthzController
extends Object

Handles requests for the application welcome page.


Constructor Summary
AuthzController()
           
 
Method Summary
 org.springframework.web.servlet.ModelAndView authorize(OAuthParams oauthParams, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthzController

public AuthzController()
Method Detail

authorize

@RequestMapping(value="/authorize")
public org.springframework.web.servlet.ModelAndView authorize(@ModelAttribute(value="oauthParams")
                                                                             OAuthParams oauthParams,
                                                                             javax.servlet.http.HttpServletRequest req,
                                                                             javax.servlet.http.HttpServletResponse res)
                                                       throws OAuthSystemException,
                                                              IOException
Throws:
OAuthSystemException
IOException


Copyright © 2010-2013 The Apache Software Foundation. All Rights Reserved.