com.dyuproject.openid
Class FormRedirection
java.lang.Object
com.dyuproject.openid.FormRedirection
- All Implemented Interfaces:
- AuthRedirection
public final class FormRedirection
- extends Object
- implements AuthRedirection
Forwards the user to an html page that contains a form where the user will be
automatically redirected upon page load.
- Author:
- David Yu
- Date created:
- Mar 17, 2009
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_TITLE
public static final String DEFAULT_TITLE
FormRedirection
public FormRedirection()
FormRedirection
public FormRedirection(String title)
getTitle
public String getTitle()
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
writeHead
protected void writeHead(Writer w,
UrlEncodedParameterMap params,
HttpServletRequest request)
throws IOException
- Throws:
IOException
writeBody
protected void writeBody(Writer w,
UrlEncodedParameterMap params,
HttpServletRequest request)
throws IOException
- Throws:
IOException
Copyright © 2008-2013. All Rights Reserved.