Constructor and Description |
---|
PasswdAuth() |
Modifier and Type | Method and Description |
---|---|
Principal |
checkUser(String userId,
String passwd,
String clientAddr)
This method gets the parameters necessary for checking if the user is allowed to connect to the server.
|
void |
sendLoginRequest(HttpServletRequest r,
HttpServletResponse res)
This method is called by the server, when authorization is required and
the client must be requested for login information.
|
void |
setAuthorizationCookie(HttpServletRequest req,
HttpServletResponse res)
Answers the request from the login mask.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
logoutRedirect
public void sendLoginRequest(HttpServletRequest r, HttpServletResponse res) throws Exception
HttpAuth
sendLoginRequest
in interface HttpAuth
r
- the HTTP Requestres
- the HTTP Response, where the HTML-page must be written to.Exception
public void setAuthorizationCookie(HttpServletRequest req, HttpServletResponse res) throws Exception
Exception
public Principal checkUser(String userId, String passwd, String clientAddr) throws Exception
HttpAuth
checkUser
in interface HttpAuth
userId
- a string determining the id of the user who wants to get connectedpasswd
- the password of the userclientAddr
- the ip-address of the client from which the user wants to connectException
HttpAuth.checkUser(java.lang.String, java.lang.String, java.lang.String)
@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.