Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: task ::

interface XMasterPasswordHandling
Description
allows to change the master password, or let it be requested and checked.

Methods' Summary
authorizateWithMasterPassword allows to check the user authorization.  
changeMasterPassword allows to change the master password.  
removeMasterPassword let the master password and all the related stored passwords be removed.  
hasMasterPassword allows to detect whether there is already a master password  
allowPersistentStoring allows to specify whether persistent storing of passwords is allowed  
isPersistentStoringAllowed allows to detect whether persistent storing of passwords is allowed  
Methods' Details
authorizateWithMasterPassword
boolean
authorizateWithMasterPassword( [in] XInteractionHandler  xHandler );

Description
allows to check the user authorization.

This call let the master password be requested from user using the provided interaction handler.

The call will use the standard interactin handler service InteractionHandler if no handler is provided.

changeMasterPassword
boolean
changeMasterPassword( [in] XInteractionHandler  xHandler );

Description
allows to change the master password.

If there is still no master password, the user will be asked to provide the new one.

The call will use the standard interaction handler service InteractionHandler if no handler is provided.

removeMasterPassword
void
removeMasterPassword();

Description
let the master password and all the related stored passwords be removed.
hasMasterPassword
boolean
hasMasterPassword();

Description
allows to detect whether there is already a master password
allowPersistentStoring
boolean
allowPersistentStoring( [in] boolean  bAllow );

Description
allows to specify whether persistent storing of passwords is allowed

After the storing is forbidden the master password and all the stored passwords are removed.

isPersistentStoringAllowed
boolean
isPersistentStoringAllowed();

Description
allows to detect whether persistent storing of passwords is allowed
Top of Page

Apache Software Foundation

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

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