com.openexchange.admin.rmi.dataobjects
Interface PasswordMechObject

All Known Implementing Classes:
User

public interface PasswordMechObject

Interface for all Objects containing a password mechanism and a password

Author:
choeger

Field Summary
static String CRYPT_MECH
           
static String SHA_MECH
           
 
Method Summary
 String getPassword()
          Return the password of this user object.
 String getPasswordMech()
           
 void setPasswordMech(String passwordMech)
          Represents the password encryption mechanism, value is a password mechanism.
 

Field Detail

CRYPT_MECH

static final String CRYPT_MECH
See Also:
Constant Field Values

SHA_MECH

static final String SHA_MECH
See Also:
Constant Field Values
Method Detail

getPasswordMech

String getPasswordMech()
Returns:
the passwordMech

setPasswordMech

void setPasswordMech(String passwordMech)
Represents the password encryption mechanism, value is a password mechanism. Currently supported mechanisms are "{CRYPT}" and "{SHA}", see User.CRYPT_MECH and User.SHA_MECH.

Parameters:
passwordMech - the passwordMech to set

getPassword

String getPassword()
Return the password of this user object.

Returns:
A String containing the password