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
Method Summary |
void |
redirectToNonSSL(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
this method redirects to the wanted page |
void |
sendLoginRequest(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
This method is called by the server, when authorization is required and
the client must be requested for login information. |
void |
setAuthorizationCookie(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Answers the request from the login mask. |
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(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws java.lang.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:
java.lang.Exception
setAuthorizationCookie
public void setAuthorizationCookie(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws java.lang.Exception
- Description copied from class:
PasswdAuth
- Answers the request from the login mask.
- Overrides:
setAuthorizationCookie
in class PasswdAuth
- Throws:
java.lang.Exception
redirectToNonSSL
public void redirectToNonSSL(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws java.lang.Exception
- this method redirects to the wanted page
- Throws:
java.lang.Exception
@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.