Powered by Zoomin Software. For more details please contactZoomin

OpenEdge ABL API Reference

OpenEdge.Security.Provider.UserTablePasswordProvider

OpenEdge.Security.Provider.UserTablePasswordProvider

  • Last Updated: January 15, 2026
  • 2 minute read
    • OpenEdge
    • Documentation
Namespace: OpenEdge.Security.Provider
Type: Class UserTablePasswordProvider
Parent Classes:
Inherits: Progress.Lang.Object
Implements: OpenEdge.Security.Provider.IPasswordPolicyProvider


Copyright (c) 2016,2025 by Progress Software Corporation. All rights reserved.
File:UserTablePasswordProvider
Purpose:Default password policy provider for _USER tables.
Author(s):pjudge
Created:Mon Feb 29 15:52:19 EST 2016
Notes:* Uses the ENCODE hash algorithm



Method Summary
  Options Name Purpose
  RAW GetUserSalt (handle) /* Returns a per-user salt used for hashing (typically) passwords @param handle (optional) The ABL [user] table buffer used to calculate/determine the salt @return raw A salt to use for hashing. The caller will determine whether nulls are allowed */
  CHARACTER HashPassword (character, raw) /* Hashes a password for storage with (typically) a user account. By default this demonstrates use with the standard _User table. The default implementation uses GENERATE-PASSWORD-HASH() with "_oeuser-uphA1" and ignores any salt value passed. Additionally, an override of this method might use a different hashing algorithm. @param character A mandatory clear-text password @param raw An optional salt value @return character A string representation of the hashed password */

Method Detail
Top

RAW GetUserSalt (handle)

/* Returns a per-user salt used for hashing (typically) passwords
Parameters:
phUserTableBuffer HANDLE
 
Returns RAW
  raw A salt to use for hashing. The caller will determine whether nulls are allowed
Top

CHARACTER HashPassword (character, raw)

/* Hashes a password for storage with (typically) a user account.
By default this demonstrates use with the standard _User table.
The default implementation uses GENERATE-PASSWORD-HASH() with "_oeuser-uphA1"
and ignores any salt value passed.
Additionally, an override of this method might use a different hashing algorithm.
Parameters:
pcPassword CHARACTER
 
prSalt RAW
 
Returns CHARACTER
  character A string representation of the hashed password


TitleResults for “How to create a CRG?”Also Available inAlert