public interface HttpAuth
Modifier and Type | Method and Description |
---|---|
java.security.Principal |
checkUser(java.lang.String user,
java.lang.String passwd,
java.lang.String clientAddr)
This method gets the parameters necessary for checking if the user is allowed to connect to the server.
|
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 sendLoginRequest(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws java.lang.Exception
req
- the HTTP Requestres
- the HTTP Response, where the HTML-page must be written to.java.lang.Exception
java.security.Principal checkUser(java.lang.String user, java.lang.String passwd, java.lang.String clientAddr) throws java.lang.Exception
user
- 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 connectjava.lang.Exception
@enterprise 9.0.33982 Copyright © 2001-2023 Groiss Informatics GmbH. All Rights Reserved.