LibreOffice
LibreOffice 24.2 SDK API Reference
Public Member Functions | List of all members
XMasterPasswordHandling Interface Referencepublished

allows to change the master password, or let it be requested and checked. More...

import"XMasterPasswordHandling.idl";

Inheritance diagram for XMasterPasswordHandling:
XInterface XMasterPasswordHandling2 XPasswordContainer2 PasswordContainer

Public Member Functions

boolean authorizateWithMasterPassword ([in] XInteractionHandler xHandler)
 allows to check the user authorization. More...
 
boolean changeMasterPassword ([in] XInteractionHandler xHandler)
 allows to change the master password. More...
 
void removeMasterPassword ()
 let the master password and all the related stored passwords be removed. More...
 
boolean hasMasterPassword ()
 allows to detect whether there is already a master password More...
 
boolean allowPersistentStoring ([in] boolean bAllow)
 allows to specify whether persistent storing of passwords is allowed More...
 
boolean isPersistentStoringAllowed ()
 allows to detect whether persistent storing of passwords is allowed More...
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 

Detailed Description

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

Member Function Documentation

◆ allowPersistentStoring()

boolean allowPersistentStoring ( [in] boolean  bAllow)

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.

◆ authorizateWithMasterPassword()

boolean authorizateWithMasterPassword ( [in] XInteractionHandler  xHandler)

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 interaction handler service InteractionHandler if no handler is provided.

◆ changeMasterPassword()

boolean changeMasterPassword ( [in] XInteractionHandler  xHandler)

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.

◆ hasMasterPassword()

boolean hasMasterPassword ( )

allows to detect whether there is already a master password

◆ isPersistentStoringAllowed()

boolean isPersistentStoringAllowed ( )

allows to detect whether persistent storing of passwords is allowed

◆ removeMasterPassword()

void removeMasterPassword ( )

let the master password and all the related stored passwords be removed.


The documentation for this interface was generated from the following file: