interface XPasswordContainer in module com::sun::star::task::

(Global Index)

Syntax

interface XPasswordContainer : com::sun::star::uno::XInterface ;

Description

Allows to save passwords with URL-pattern, to use them later.

Method Summary

add Save passwords in to the container.

addPersistent Save passwords in to the container, and store them in the file.

find Find users with passwords for the url pattern.

findForName Find passwords for the url pattern and username.

remove Remove passwords for the url pattern and username.

removePersistent Remove passwords for the url pattern and username from the file.

removeAllPersistent Clean the file.

getAllPersistent Get all records from the file.

Method Details



add

Syntax

void add (
string Url,
string UserName,
sequence< string > Passwords,
com::sun::star::task::XInteractionHandler Handler );

Description

Save passwords in to the container.

Parameter Url

URL-pattern, that will be used later to retrieve passwords.

Parameter UseName

The username.

Parameter Passwords

The password-list.

Parameter Handler

The handler to get superpassword to en/decript passwords

addPersistent

Syntax

void addPersistent (
string Url,
string UserName,
sequence< string > Passwords,
com::sun::star::task::XInteractionHandler Handler );

Description

Save passwords in to the container, and store them in the file.

Parameter Url

URL-pattern, that will be used later to retrieve passwords.

Parameter UseName

The username.

Parameter Passwords

The password-list.

Parameter Handler

The handler to get superpassword to en/decript passwords

find

Syntax

com::sun::star::task::UrlRecord find (
string Url,
com::sun::star::task::XInteractionHandler Handler );

Description

Find users with passwords for the url pattern.

Parameter Url

URL-pattern to retrieve password for.

Parameter Handler

The handler to get superpassword to en/decript passwords

Returns

Best matched url-pattern with user-records list.

findForName

Syntax

com::sun::star::task::UrlRecord findForName (
string Url,
string UserName,
com::sun::star::task::XInteractionHandler Handler );

Description

Find passwords for the url pattern and username.

Parameter Url

URL-pattern to retrieve passwords for.

Parameter UserName

Username to retrieve passwords for.

Parameter Handler

The handler to get superpassword to en/decript passwords

Returns

Best matched url-pattern for the username.

remove

Syntax

void remove (
string Url,
string UserName );

Description

Remove passwords for the url pattern and username.

Parameter Url

URL-pattern to remove passwords for.

Parameter UserName

Username to remove passwords for.

removePersistent

Syntax

void removePersistent (
string Url,
string UserName );

Description

Remove passwords for the url pattern and username from the file.

Parameter Url

URL-pattern to remove passwords for.

Parameter UserName

Username to remove passwords for.

removeAllPersistent

Syntax

void removeAllPersistent ();

Description

Clean the file.


getAllPersistent

Syntax

sequence< com::sun::star::task::UrlRecord > getAllPersistent (
com::sun::star::task::XInteractionHandler Handler );

Description

Get all records from the file.

Returns

List of url-records.
Top of Page