com.groiss.org
Class SSLAuth
java.lang.Object
com.groiss.org.PasswdAuth
com.groiss.org.SSLAuth
- All Implemented Interfaces:
- HttpAuth, Public
public class SSLAuth
- extends PasswdAuth
redirect to SSL for login
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SSLAuth
public SSLAuth()
sendLoginRequest
public void sendLoginRequest(HttpServletRequest req,
HttpServletResponse res)
throws Exception
- Description copied from interface:
HttpAuth
- This method is called by the server, when authorization is required and
the client must be requested for login information. It typically sends a
HTML page containing a login form or applet to the browser.
- Specified by:
sendLoginRequest in interface HttpAuth- Overrides:
sendLoginRequest in class PasswdAuth
- Parameters:
req - the HTTP Requestres - the HTTP Response, where the HTML-page must be written to.
- Throws:
Exception
setAuthorizationCookie
public void setAuthorizationCookie(HttpServletRequest req,
HttpServletResponse res)
throws Exception
- Description copied from class:
PasswdAuth
- Answers the request from the login mask.
- Overrides:
setAuthorizationCookie in class PasswdAuth
- Throws:
Exception
redirectToNonSSL
public void redirectToNonSSL(HttpServletRequest req,
HttpServletResponse res)
throws Exception
- this method redirects to the wanted page
- Throws:
Exception
@enterprise 8.0.10809 Copyright © 2001-2012 Groiss Informatics GmbH. All Rights Reserved.