OpenEdge.Security.Provider.UserTableAuthProvider
- Last Updated: January 15, 2026
- 6 minute read
- OpenEdge
- Version 12.8
- Documentation
|
Method Summary
| Options | Name | Purpose | |
|---|---|---|---|
| FindUserRecordForRead (character, buffer) |
/* Helper method for finding a _User record for READ
@param character The User@Domain user name/id
@param buffer The _User buffer to use */
|
||
| FindUserRecordForUpdate (character, buffer) |
/* Helper method for finding a _User record for UPDATE
@param character The User@Domain user name/id
@param buffer The _User buffer to use */
|
||
| CHARACTER GetAttribute (character, character) |
/* Retrieves a value for the a requested attribute, per user
@param character A unique userid
@param character The name of the attribute for which to return a value
return character An attribute value for the given user. May be empty or unknown. */
|
||
| CHARACTER GetAttributeNames (character) |
/* Returns an array of attributes for a given user.
In the _USER case all users are equal.
@param character A unique userid
@return character[] An array of attribute names. */
|
||
| Initialize () |
/* Loads configuration for this provider */
|
||
| LOGICAL SetAttribute (character, character, character) |
/* Sets an attribute's value for a user. May optionally create an attribute value.
@param character A unique userid
@param character The name of the attribute to remove
@param character The value to apply
@return logical TRUE if the attribute value was successfully set; FALSE otherwise */
|
||
| CHARACTER SplitUserId (character) |
/* Splits a user@domain string into its component parts.
A user name may be one of the following forms
i) user (blank domain)
ii) user@oedomaim (oe domain)
iii) user@email@oedomain (email address + domain)
@param character A user@domain string to split
@return character[2] 1=userid (not empty/null). May contain the @email portion;
2=domain (not null) */
|
||
| CHARACTER Stringify (character) |
/* Stringifies an attribute value for return to the caller.
No validation typically done on the input.
@param character The value to format
@return character An appropriately-formatted character value */
|
||
| CHARACTER Stringify (datetime-tz) |
/* Stringifies an attribute value for return to the caller.
No validation typically done on the input.
@param datetime-tz The value to format
@return character An appropriately-formatted character value */
|
||
| CHARACTER Stringify (decimal) |
/* Stringifies an attribute value for return to the caller.
No validation typically done on the input.
@param decimal The value to format
@return character An appropriately-formatted character value */
|
||
| CHARACTER Stringify (integer) |
/* Stringifies an attribute value for return to the caller.
No validation typically done on the input.
@param integer The value to format
@return character An appropriately-formatted character value */
|
||
| CHARACTER Stringify (logical) |
/* Stringifies an attribute value for return to the caller.
No validation typically done on the input.
@param logical The value to format
@return character An appropriately-formatted character value */
|
||
| CHARACTER Stringify (longchar) |
/* Stringifies an attribute value for return to the caller.
No validation typically done on the input.
@param longchar The value to format
@return character An appropriately-formatted character value */
|
||
| LOGICAL ValidatePassword (character, character) |
/* Simple, clear-text password validation for a user
@param character A unique userid
@param character The user's (cleartext) password to verify
@return logical TRUE if the provide credentials match the realm's values */
|
||
| LOGICAL ValidatePassword (character, character, character, character) |
/* Digest-encoded password validation for a user
@param character A unique userid
@param character The hashed digest of the password to verify
@param character The nonce value used to create the digest hash
@param character The timestamp value used to create the digest hash
@return logical TRUE if the provide credentials match the realm's values */
|
||
| CHARACTER ValidateUser (character) |
/* Validates that the username is in the realm, and returns a unique identifier for
the user (which may be the username@domain).
@param character The client-supplied username
@return character A unique identifier for the user */
|
Constructor Summary
| Options | Name | Purpose | |
|---|---|---|---|
| UserTableAuthProvider () |
/* Default constructor */
|
||
| UserTableAuthProvider (IPasswordPolicyProvider) |
/* Constructor.
This constructor largely used for testing IPasswordPolicyProvider implementations; in the
OEAG instance, the PasswordProvider will either be the default, or a value provided by config.
@param IPasswordPolicyProvider The provider used to provide password hashing etc */
|
Property Summary
| Options | Name | Purpose | |
|---|---|---|---|
| OpenEdge.Logging.ILogWriter Logger |
|
||
| OpenEdge.Security.Provider.IPasswordPolicyProvider PasswordProvider |
|
||
| CHARACTER REALM_ATTR_DESCRIPTION |
|
||
| CHARACTER REALM_ATTR_DOMAIN |
|
||
| CHARACTER REALM_ATTR_EMAIL |
|
||
| CHARACTER REALM_ATTR_ENABLED |
|
||
| CHARACTER REALM_ATTR_EXPIRED |
|
||
| CHARACTER REALM_ATTR_GIVENNAME |
|
||
| CHARACTER REALM_ATTR_LAST_LOGIN |
|
||
| CHARACTER REALM_ATTR_LOCKED |
|
||
| CHARACTER REALM_ATTR_LOGIN_FAILURES |
|
||
| CHARACTER REALM_ATTR_MIDDLEINITIAL |
|
||
| CHARACTER REALM_ATTR_PASSWD |
|
||
| CHARACTER REALM_ATTR_PROPERTIES |
|
||
| CHARACTER REALM_ATTR_ROLES |
|
||
| CHARACTER REALM_ATTR_SQL_ONLY |
|
||
| CHARACTER REALM_ATTR_SURNAME |
|
||
| CHARACTER REALM_ATTR_TELEPHONE |
|
||
| CHARACTER REALM_ATTR_USERID |
|
Method Detail
FindUserRecordForRead (character, buffer)
|
||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
FindUserRecordForUpdate (character, buffer)
|
||||||||||||||||||||||||||||
CHARACTER GetAttribute (character, character)
|
||||||||||||||||||||||||||||
CHARACTER GetAttributeNames (character)
|
||||||||||||||||||||||||||||
Initialize ()
|
||||||||||||||||||||||||||||
LOGICAL SetAttribute (character, character, character)
|
||||||||||||||||||||||||||||
CHARACTER SplitUserId (character)
|
||||||||||||||||||||||||||||
CHARACTER Stringify (character)
|
||||||||||||||||||||||||||||
CHARACTER Stringify (datetime-tz)
|
||||||||||||||||||||||||||||
CHARACTER Stringify (decimal)
|
||||||||||||||||||||||||||||
CHARACTER Stringify (integer)
|
||||||||||||||||||||||||||||
CHARACTER Stringify (logical)
|
||||||||||||||||||||||||||||
CHARACTER Stringify (longchar)
|
||||||||||||||||||||||||||||
LOGICAL ValidatePassword (character, character)
|
||||||||||||||||||||||||||||
LOGICAL ValidatePassword (character, character, character, character)
|
||||||||||||||||||||||||||||
CHARACTER ValidateUser (character)
|
||||||||||||||||||||||||||||
Constructor Detail
UserTableAuthProvider ()
|
||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
UserTableAuthProvider (IPasswordPolicyProvider)
|
||||||||||||||||
Property Detail
OpenEdge.Logging.ILogWriter Logger
|
||||||||
|---|---|---|---|---|---|---|---|---|
OpenEdge.Security.Provider.IPasswordPolicyProvider PasswordProvider |
||||||||
CHARACTER REALM_ATTR_DESCRIPTION
|
||||||||
CHARACTER REALM_ATTR_DOMAIN
|
||||||||
CHARACTER REALM_ATTR_EMAIL
|
||||||||
CHARACTER REALM_ATTR_ENABLED
|
||||||||
CHARACTER REALM_ATTR_EXPIRED
|
||||||||
CHARACTER REALM_ATTR_GIVENNAME
|
||||||||
CHARACTER REALM_ATTR_LAST_LOGIN
|
||||||||
CHARACTER REALM_ATTR_LOCKED
|
||||||||
CHARACTER REALM_ATTR_LOGIN_FAILURES
|
||||||||
CHARACTER REALM_ATTR_MIDDLEINITIAL
|
||||||||
CHARACTER REALM_ATTR_PASSWD
|
||||||||
CHARACTER REALM_ATTR_PROPERTIES
|
||||||||
CHARACTER REALM_ATTR_ROLES
|
||||||||
CHARACTER REALM_ATTR_SQL_ONLY
|
||||||||
CHARACTER REALM_ATTR_SURNAME
|
||||||||
CHARACTER REALM_ATTR_TELEPHONE
|
||||||||
CHARACTER REALM_ATTR_USERID
|
||||||||