Package org.sonatype.security.ldap.realms.persist

Examples of org.sonatype.security.ldap.realms.persist.PasswordHelper


      throws Exception
  {
    final String legacyEncryptedPassword = "CP2WQrKyuB/fphz8c1eg5zaG";
    final String legacyClearPassword = "S0natyp31";

    PasswordHelper passHelper = new DefaultPasswordHelper(new CryptoHelperImpl());

    assertEquals(passHelper.decrypt(legacyEncryptedPassword), legacyClearPassword);
  }
View Full Code Here

TOP

Related Classes of org.sonatype.security.ldap.realms.persist.PasswordHelper

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.