|
||||||||||
| 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(String user,
String pwd)
Try to authenticate the user. |
String |
getToken(HttpHeader header,
Connection con)
Find the token used to authenticate |
| Method Detail |
|---|
String getToken(HttpHeader header,
Connection con)
boolean authenticate(String user,
String pwd)
user - the usernamepwd - the password of the userchannel - the socket channel the user is currently using
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||