Mendix Runtime
Documentation for the Mendix Runtime Environment API
com.mendix.core.objectmanagement.member.MendixHashString Class Reference

Inherits MendixObjectMember< String >.

List of all members.

Public Member Functions

 MendixHashString (String name)
 MendixHashString (String name, boolean isVirtual, String virtualActionName)
synchronized void setInitialValue (String unhashed)
synchronized void setValue (IContext context, String unhashed)
synchronized void setValue (IContext context, String unhashed, boolean performValidation)
synchronized void setInitialHash (String hashedValue)
synchronized void setHash (IContext context, String hashedValue)
synchronized boolean verifyValue (IContext context, String unhashedValue)
String getValueFromString (String s)
String getUnhashedValue (IContext context)

Detailed Description

Hash string object member. Can be used for hashed string values such as passwords.


Constructor & Destructor Documentation

com.mendix.core.objectmanagement.member.MendixHashString.MendixHashString ( String  name)
com.mendix.core.objectmanagement.member.MendixHashString.MendixHashString ( String  name,
boolean  isVirtual,
String  virtualActionName 
)

Member Function Documentation

String com.mendix.core.objectmanagement.member.MendixHashString.getUnhashedValue ( IContext  context)
String com.mendix.core.objectmanagement.member.MendixHashString.getValueFromString ( String  s)
synchronized void com.mendix.core.objectmanagement.member.MendixHashString.setHash ( IContext  context,
String  hashedValue 
)

Set already hashed value

Parameters:
context
hashedValue
synchronized void com.mendix.core.objectmanagement.member.MendixHashString.setInitialHash ( String  hashedValue)
synchronized void com.mendix.core.objectmanagement.member.MendixHashString.setInitialValue ( String  unhashed)
synchronized void com.mendix.core.objectmanagement.member.MendixHashString.setValue ( IContext  context,
String  unhashed 
)
synchronized void com.mendix.core.objectmanagement.member.MendixHashString.setValue ( IContext  context,
String  unhashed,
boolean  performValidation 
)
synchronized boolean com.mendix.core.objectmanagement.member.MendixHashString.verifyValue ( IContext  context,
String  unhashedValue 
)

Verify a hash value

Parameters:
context
unhashedValue
Returns:
true if and only if hashing the unhashed leads to the same hash

The documentation for this class was generated from the following file: