Try OpenEdge Now
skip to main content
Customization Guide
Customizing password security : Password security interfaces

Password security interfaces

The following sections describe the password security interfaces.
Note: Class implementing 'IPasswordSecurityService' interface should have a constructor that takes 'IPasswordSecurityData' as an argument. For example,
public CustomPasswordSecurityService(IPasswordSecurityData customSecurityData){



Sample XML to capture the password policy metadata is as follows:
<?xml version="1.0" encoding="UTF-8"?>
      <ChangeAtFirstLogin enable="true"/>
      <Longevity enable="true">
          <PwdExpiration type="user" afterDays="30">
      <Notify enable="true">
          <BeforeExpiration days="3"/>
      <Charset atleast="3">
          <UpperCase count="1"/>
          <LowerCase count="1"/>
          <Numeric count="2"/>
          <SpecialChar count="1"/>
      <!-- Starts with lower case alphabet-->