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

Examples of org.sonatype.security.ldap.realms.persist.DefaultPasswordHelper.decrypt()


    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
Copyright © 2018 www.massapi.com. 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.