|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrabbit.filter.authenticate.PlainFileAuthenticator
public class PlainFileAuthenticator
An authenticator that reads username and passwords from a plain text file.
| Constructor Summary | |
|---|---|
PlainFileAuthenticator(SProperties props)
Create a new PlainFileAuthenticator that will be configured using the given properties. |
|
| 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 |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PlainFileAuthenticator(SProperties props)
props - the configuration for this authenticator| Method Detail |
|---|
public java.lang.String getToken(HttpHeader header,
Connection con)
Authenticator
getToken in interface Authenticatorheader - the requestcon - the Connection handling the request
public boolean authenticate(java.lang.String user,
java.lang.String pwd)
Authenticator
authenticate in interface Authenticatoruser - the usernamepwd - the password of the user
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||