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 java.lang.String BCRYPT_MECH
           
static java.lang.String CRYPT_MECH
           
static java.lang.String SHA_MECH
           
 
Method Summary
 java.lang.String getPassword()
          Return the password of this user object.
 java.lang.String getPasswordMech()
           
 void setPasswordMech(java.lang.String passwordMech)
          Represents the password encryption mechanism, value is a password mechanism.
 

Field Detail

CRYPT_MECH

static final java.lang.String CRYPT_MECH

SHA_MECH

static final java.lang.String SHA_MECH

BCRYPT_MECH

static final java.lang.String BCRYPT_MECH
Method Detail

getPasswordMech

java.lang.String getPasswordMech()
Returns:
the passwordMech

setPasswordMech

void setPasswordMech(java.lang.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

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

Returns:
A String containing the password