|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Defines the interface for local user lists with optional timeouts and the ability to ask questions of status for individual entries.

| Method Summary | |
void |
addUserWithDigest(java.lang.String inUser,
java.lang.String passDigest,
java.lang.String inTarget)
Add a user to the list with the current expiration duration; if the user/password/target combination is already in the list, just resets the expiration. |
void |
addUserWithPassword(java.lang.String inUser,
java.lang.String inPassword,
java.lang.String inTarget)
Add a user to the list with the current expiration duration; if the user/password/target combination is already in the list, just resets the expiration. |
boolean |
isUserOk(java.lang.String inUser,
java.lang.String inPassword,
java.lang.String inTarget)
Checks to see if the user is still ok, if not remove the entry |
void |
removeAll()
Removes all entries from the list |
void |
removeExpired()
Removes the expired entries from the list |
void |
setExpireDuration(int inDuration)
Sets the exiration duration, may be interpreted by the impementation as it sees fit; days, hours, minutes... |
| Method Detail |
public void setExpireDuration(int inDuration)
inDuration - is the duration valuepublic void removeExpired()
public void removeAll()
public void addUserWithPassword(java.lang.String inUser,
java.lang.String inPassword,
java.lang.String inTarget)
inUser - is the usernameinPassword - is the user's password, not encrypted, implementation
should encrypt it using some message digest functioninTarget - is the user's domain/target
public void addUserWithDigest(java.lang.String inUser,
java.lang.String passDigest,
java.lang.String inTarget)
inUser - is the usernameinTarget - is the user's domain/target
public boolean isUserOk(java.lang.String inUser,
java.lang.String inPassword,
java.lang.String inTarget)
inUser - is the usernameinPassword - is the user's password, not encryptedinTarget - is the user's domain/target
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||