|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectatg.servlet.pipeline.BasicAuthenticator
public class BasicAuthenticator
This implementation of Authenticator takes a single property, passwords. This property is a plaintext mapping from id to password.
| Field Summary | |
|---|---|
static java.lang.String |
CLASS_VERSION
Class version string |
| Constructor Summary | |
|---|---|
BasicAuthenticator()
Constructs a new BasicAuthenticator |
|
| Method Summary | |
|---|---|
boolean |
authenticate(java.lang.String pUserId,
java.lang.String pPassword)
Returns true if the specified userid and password are an authentic combination, false if not. |
java.util.Properties |
getPasswords()
Returns the mapping from user id to password |
java.lang.String |
getRealm()
Returns the name of the realm to be displayed to the user for this authenticator. |
void |
setPasswords(java.util.Properties pPasswords)
Sets the mapping from user id to password |
void |
setRealm(java.lang.String pRealm)
Sets the name of the realm to be displayed to the user for this authenticator. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static java.lang.String CLASS_VERSION
| Constructor Detail |
|---|
public BasicAuthenticator()
| Method Detail |
|---|
public boolean authenticate(java.lang.String pUserId,
java.lang.String pPassword)
authenticate in interface Authenticatorpublic java.util.Properties getPasswords()
public void setPasswords(java.util.Properties pPasswords)
public java.lang.String getRealm()
public void setRealm(java.lang.String pRealm)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||