1 /* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */
3 * This file is part of the LibreOffice project.
5 * This Source Code Form is subject to the terms of the Mozilla Public
6 * License, v. 2.0. If a copy of the MPL was not distributed with this
7 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
9 * This file incorporates work covered by the following license notice:
11 * Licensed to the Apache Software Foundation (ASF) under one or more
12 * contributor license agreements. See the NOTICE file distributed
13 * with this work for additional information regarding copyright
14 * ownership. The ASF licenses this file to you under the Apache
15 * License, Version 2.0 (the "License"); you may not use this file
16 * except in compliance with the License. You may obtain a copy of
17 * the License at http://www.apache.org/licenses/LICENSE-2.0 .
20 module com
{ module sun
{ module star
{
22 published
interface XPasswordContainer2
;
26 module com
{ module sun
{ module star
{ module task
{
27 /** this service is kind of storage that allows to store passwords
28 and to retrieve already stored.
31 A password can be stored for the session period or persistently.
32 The persistent way is only possible if configuration allows to use storage.
33 It stores passwords encrypted with a super password. An interaction
34 is used to ask a user for a super password.
35 To allow such an interaction, an object that implements XInteractionHandler
36 interface should be provided. For this purpose InteractionHandler
41 In case no interaction handler is provided all passwords are stored
42 for the session period. In case an interaction handler is provided, but
43 the super password interaction does not return super password ( for any reason ),
44 NoMasterException exception is thrown to let user use
45 non-persistent way explicitly.
48 published service PasswordContainer
: com
::sun
::star
::task
::XPasswordContainer2
;
52 /* vim:set shiftwidth=4 softtabstop=4 expandtab: */