com.mucommander.auth
Class CredentialsWriter

java.lang.Object
  extended by com.mucommander.auth.CredentialsWriter

public class CredentialsWriter
extends java.lang.Object

This class provides a method to write persistent credentials contained by CredentialsManager to an XML file.

Author:
Maxence Bernard
See Also:
CredentialsParser

Field Summary
static java.lang.String ATTRIBUTE_ENCRYPTION
          Root element's attribute containing the encryption method used for passwords
static java.lang.String ATTRIBUTE_NAME
          Name attribute of the property element
static java.lang.String ATTRIBUTE_VALUE
          Value attribute of the property element
static java.lang.String ELEMENT_CREDENTIALS
          Element for each credential item, containg a URL, login and password
static java.lang.String ELEMENT_LOGIN
          Element containing the credentials' login
static java.lang.String ELEMENT_PASSWORD
          Element containing the credentials' (encrypted) password
static java.lang.String ELEMENT_PROPERTY
          Element that defines a property (name/value pair)
static java.lang.String ELEMENT_ROOT
          Root element
static java.lang.String ELEMENT_URL
          Element containing the credentials' URL
static java.lang.String ELEMENT_VERSION
          Element containing the last muCommander version that was used to create the file
static java.lang.String WEAK_ENCRYPTION_METHOD
          Weak password encryption method
 
Constructor Summary
CredentialsWriter()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ELEMENT_ROOT

public static final java.lang.String ELEMENT_ROOT
Root element

See Also:
Constant Field Values

ELEMENT_VERSION

public static final java.lang.String ELEMENT_VERSION
Element containing the last muCommander version that was used to create the file

See Also:
Constant Field Values

ELEMENT_CREDENTIALS

public static final java.lang.String ELEMENT_CREDENTIALS
Element for each credential item, containg a URL, login and password

See Also:
Constant Field Values

ELEMENT_URL

public static final java.lang.String ELEMENT_URL
Element containing the credentials' URL

See Also:
Constant Field Values

ELEMENT_LOGIN

public static final java.lang.String ELEMENT_LOGIN
Element containing the credentials' login

See Also:
Constant Field Values

ELEMENT_PASSWORD

public static final java.lang.String ELEMENT_PASSWORD
Element containing the credentials' (encrypted) password

See Also:
Constant Field Values

ELEMENT_PROPERTY

public static final java.lang.String ELEMENT_PROPERTY
Element that defines a property (name/value pair)

See Also:
Constant Field Values

ATTRIBUTE_NAME

public static final java.lang.String ATTRIBUTE_NAME
Name attribute of the property element

See Also:
Constant Field Values

ATTRIBUTE_VALUE

public static final java.lang.String ATTRIBUTE_VALUE
Value attribute of the property element

See Also:
Constant Field Values

ATTRIBUTE_ENCRYPTION

public static final java.lang.String ATTRIBUTE_ENCRYPTION
Root element's attribute containing the encryption method used for passwords

See Also:
Constant Field Values

WEAK_ENCRYPTION_METHOD

public static final java.lang.String WEAK_ENCRYPTION_METHOD
Weak password encryption method

See Also:
Constant Field Values
Constructor Detail

CredentialsWriter

public CredentialsWriter()


This file is part of muCommander - Copyright (C) 2002-2008 Maxence Bernard