Upgrading an existing password validation component

The component that was used to verify passwords in versions of Enterprise Security earlier than 6.0 was called the password validation component. The core interfaces for this component have been deprecated. When you upgrade to Enterprise Security 6.0, the installer automatically enables the old password validation component using a “compatibility” password-strength verifier, which bridges the old interfaces to the new APIs. To perform this task manually, use the following procedure.

StepsBridging the version 5.0 interfaces to the 6.0 interfaces

  1. Link the ejb/PasswordStrengthVerifier EJB reference in the SubjectQueries and SubjectManagement beans to the newly-defined password strength verifier.

    At a command line, change to the EAServer/bin directory, and enter each jagtool command on a single line:

    jagtool ejbref Component:com.sybase.ep.security.management/SubjectQueries 
    -refname ejb/PasswordStrengthVerifier -value com.sybase.ep.security.management/CompatibilityPasswordStrengthVerifier
    
    jagtool ejbref Component:com.sybase.ep.security.management/SubjectManagement
    -refname ejb/PasswordStrengthVerifier -value com.sybase.ep.security.management/CompatibilityPasswordStrengthVerifier
    
  2. Open the security.properties file, and set the value of the deprecatedPasswordValidationComponent property to the JNDI name of your custom password validation component.

  3. Reboot the server.