|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Authenticator
Something that can authenticate users using some kind of database.
| Method Summary | |
|---|---|
boolean |
authenticate(java.lang.String user,
java.lang.String pwd)
Try to authenticate the user. |
java.lang.String |
getToken(HttpHeader header,
Connection con)
Find the token used to authenticate |
| Method Detail |
|---|
java.lang.String getToken(HttpHeader header,
Connection con)
header - the requestcon - the Connection handling the request
boolean authenticate(java.lang.String user,
java.lang.String pwd)
user - the usernamepwd - the password of the user
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||