Namespace: OpenEdge.Security.Provider
Interface
IPasswordPolicyProvider
Parent classes:
Inherits: Progress.Lang.Object

File:IPasswordPolicyProvider
Purpose:Provides an extension point for _User (or other ABL table) -based
implementations of an IAuthProvider
Author(s):pjudge
Created:Mon Feb 29 10:22:18 EST 2016




Method Summary
Options Name Purpose
RAW GetUserSalt (handle) /* Returns a per-user salt used for hashing (typically) passwords @param handle (optional)The ABL 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 in the _User table. The default implementation uses ENCODE() and so no salt is used. @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
the salt
are allowed
Parameters:
phUserTableBuffer HANDLE
Returns RAW
raw A salt to use for hashing. The caller will determine whether nulls
Top

CHARACTER HashPassword (character, raw)

/* Hashes a password for storage in the _User table.
The default implementation uses ENCODE() and so
no salt is used.
Parameters:
pcPassword CHARACTER
prSalt RAW
Returns CHARACTER
character A string representation of the hashed password


Copyright © 2022 Progress Software Corporation. All rights Reserved.

Progress® OpenEdge® Release 11.7.15