Methods' Details |
addPassword
- Description
- adds a username/password combination to the cache.
If an entry for the specified username already exists in the cache, it
will be overwritten.
- Parameter UserName
-
the user name to add
- Parameter Password
-
the associated password
- Parameter Persist
-
indicates whether or not the username/password combination should be
persisted
|
|
getPassword
- Description
- retrieves a password for a given user from the cache.
Non persistent cache is searched first, followed by the
persistent cache ( if it exists ).
- Parameter UserName
-
the name of the user whose password should be retrieved
- Parameter Persist
-
indicates whether or not the password is persistent
- Returns
-
the required password
|
|
removePassword
- Description
- removes a password from the cache
- Parameter UserName
-
the name of the user whose password should be removed.
- Parameter RemovePersist
-
indicates whether or not the password should also be removed, if
present, from persistent cache.
|
|
Copyright © 2003 Sun Microsystems, Inc.