Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

:: drafts :: com :: sun :: star :: auth ::

interface XSSOPasswordCache
Base Hierarchy
::com::sun::star::uno::XInterface
 |
 +-XSSOPasswordCache

Methods' Summary
addPassword adds a username/password combination to the cache
getPassword retrieves a password for a given user from the cache. Non persistent cache is searched first, followed by the persistent cache ( if it exists ).
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
Parameter UserName
The user name
Parameter Password
The password
Parameter Persist
indicates whether or not the username/password 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 @paran 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 from persistent cache.
Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache, OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. The Apache feather logo is a trademark of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.