public interface MendixHashString extends IMendixObjectMember<java.lang.String>
IMendixObjectMember.MemberState, IMendixObjectMember.MemberValueState
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getUnhashedValue(IContext context) |
boolean |
isEmpty() |
void |
setHash(IContext context,
java.lang.String hashedValue)
Deprecated.
setValue(IContext, String) should be used instead. |
void |
setInitialHash(java.lang.String hashedValue)
Deprecated.
setValue(IContext, String) should be used instead. |
void |
setValue(IContext context,
java.lang.String plainTextPassword)
Hashes the provided plain-text password and sets the value of this instance of
MendixHashString to the hashed password. |
boolean |
verifyValue(IContext context,
java.lang.String unhashedValue) |
equals, getMemberValueState, getName, getOriginalValue, getState, getValue, getValueFromString, hashCode, hasReadAccess, hasWriteAccess, isVirtual, parseValueFromString, parseValueToString, setValue, toString
@Deprecated void setInitialHash(java.lang.String hashedValue)
setValue(IContext, String)
should be used instead.@Deprecated void setHash(IContext context, java.lang.String hashedValue)
setValue(IContext, String)
should be used instead.void setValue(IContext context, java.lang.String plainTextPassword)
MendixHashString
to the hashed password.setValue
in interface IMendixObjectMember<java.lang.String>
context
- IContext
instance to be usedplainTextPassword
- the plain-text password to be hashedboolean verifyValue(IContext context, java.lang.String unhashedValue)
java.lang.String getUnhashedValue(IContext context)
boolean isEmpty()