com.dyuproject.openid
Class SimpleRedirection

java.lang.Object
  extended by com.dyuproject.openid.SimpleRedirection
All Implemented Interfaces:
AuthRedirection

public final class SimpleRedirection
extends Object
implements AuthRedirection

SimpleRedirection - simply executes: response.sendRedirect(url);

Author:
David Yu
Date created:
Mar 17, 2009

Constructor Summary
SimpleRedirection()
           
 
Method Summary
 void redirect(UrlEncodedParameterMap params, HttpServletRequest request, HttpServletResponse response)
          Redirects the user to the authentication url of his openid provider.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleRedirection

public SimpleRedirection()
Method Detail

redirect

public void redirect(UrlEncodedParameterMap params,
                     HttpServletRequest request,
                     HttpServletResponse response)
              throws IOException
Description copied from interface: AuthRedirection
Redirects the user to the authentication url of his openid provider.

Specified by:
redirect in interface AuthRedirection
Throws:
IOException


Copyright © 2008-2013. All Rights Reserved.