Overview | Module | Use | Devguide | Index

Methods' Summary | Methods' Details | Attributes' Summary | Attributes' Details

:: com :: sun :: star :: auth ::
interface XSSOPasswordCache
  Base Hierarchy
      ::com::sun::star::uno::XInterface
       |
       +-XSSOPasswordCache
Description supports password caching for security mechanisms which use passwords as credentials or as an input to credential creation but don't have an external method to cache these passwords. Since version OpenOffice.org 1.1.1

Methods' Summary
addPassword | adds a username/password combination to the cache.
getPassword | retrieves a password for a given user from the cache.
removePassword | removes a password from the cache

Methods' Details
addPassword
void addPassword( | [in] string [in] string [in] boolean raises( | UserName, Password, Persist ) InvalidArgumentException, PersistenceFailureException );
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
string getPassword( | [in] string [out] boolean raises( | UserName, Persist ) InvalidArgumentException, PersistenceFailureException );
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
void removePassword( | [in] string [in] boolean raises( | UserName, RemovePersist ) InvalidArgumentException, PersistenceFailureException );
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.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.