LibreOffice
LibreOffice 24.8 SDK API Reference
|
allows to change the master password, or let it be requested and checked. More...
import <XMasterPasswordHandling2.idl;
Public Member Functions | |
boolean | useDefaultMasterPassword ([in] XInteractionHandler xHandler) |
allows to let the default password be used | |
boolean | isDefaultMasterPasswordUsed () |
allows to detect whether the default master password is used | |
![]() | |
boolean | authorizateWithMasterPassword ([in] XInteractionHandler xHandler) |
allows to check the user authorization. | |
boolean | changeMasterPassword ([in] XInteractionHandler xHandler) |
allows to change the master password. | |
void | removeMasterPassword () |
let the master password and all the related stored passwords be removed. | |
boolean | hasMasterPassword () |
allows to detect whether there is already a master password | |
boolean | allowPersistentStoring ([in] boolean bAllow) |
allows to specify whether persistent storing of passwords is allowed | |
boolean | isPersistentStoringAllowed () |
allows to detect whether persistent storing of passwords is allowed | |
![]() | |
any | queryInterface ([in] type aType) |
queries for a new interface to an existing UNO object. | |
void | acquire () |
increases the reference counter by one. | |
void | release () |
decreases the reference counter by one. | |
allows to change the master password, or let it be requested and checked.
boolean isDefaultMasterPasswordUsed | ( | ) |
allows to detect whether the default master password is used
boolean useDefaultMasterPassword | ( | [in] XInteractionHandler | xHandler | ) |
allows to let the default password be used
Please use this method with care. Using of default master password let the passwords be stored non-encrypted. If a master password is predefined in the algorithm it is no more an encryption, it is just an encoding.