|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface HttpAuth
The interface HttpdAuth defines the authentification interface, application programmers can provide their own class implementing their authentification policy.
| Method Summary | |
|---|---|
Principal |
checkUser(String user,
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 req,
HttpServletResponse res)
This method is called by the server, when authorization is required and the client must be requested for login information. |
| Method Detail |
|---|
void sendLoginRequest(HttpServletRequest req,
HttpServletResponse res)
throws Exception
req - the HTTP Requestres - the HTTP Response, where the HTML-page must be written to.
Exception
Principal checkUser(String user,
String passwd,
String clientAddr)
throws 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 connect
Exception
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||