Try OpenEdge Now
skip to main content
Administration
OERealm : Implementing OERealm : Implementing necessary methods
 

Implementing necessary methods

Implement the following methods:
Table 111. Methods defined in the HybridRealm.cls class
Method
Mandatory?
Description
ValidateUser
Yes
This method searches for the user account, validates whether the account domain is valid and enabled, and returns the account numeric ID.
Note: The OERealm service interface uses a numerical user account ID as an ABL integer instead of the full user account name. If the user account storage of your OERealm service does not support the integer user account IDs, it is recommended that you build a mechanism to permanently assign unique ABL integer values to each user account in the storage.
ValidatePassword
Yes
This method validates the client-supplied password of the user account against the stored password.
Note: You can define both the clear-text and digest form of the ValidatePassword() method.
GetAttribute
Yes
This method retrieves an attribute for the specified user account.
GetAttributeNames
No
This method retrieves the name assigned to the attributes.
GetUserNames
No
This method retrieves all the user names associated with the user account.
GetUserNamesByQuery
No
This method retrieves the user names that match the input query string.
RemoveAttribute
No
This method deletes the value of the given attribute.
SetAttribute
No
This method assigns a new value to the given attribute.