public class SSLAuth extends PasswdAuth
Constructor and Description |
---|
SSLAuth() |
Modifier and Type | Method and Description |
---|---|
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.
|
checkUser
public void sendLoginRequest(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws java.lang.Exception
HttpAuth
sendLoginRequest
in interface HttpAuth
sendLoginRequest
in class PasswdAuth
req
- the HTTP Requestres
- the HTTP Response, where the HTML-page must be written to.java.lang.Exception
public void setAuthorizationCookie(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws java.lang.Exception
PasswdAuth
setAuthorizationCookie
in class PasswdAuth
java.lang.Exception
public void redirectToNonSSL(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws java.lang.Exception
java.lang.Exception
@enterprise 9.0.33982 Copyright © 2001-2023 Groiss Informatics GmbH. All Rights Reserved.