Java 类org.apache.shiro.authc.credential.HashingPasswordService 实例源码

项目:mondo-integration    文件:UserStorage.java   
public static HashingPasswordService getPasswordService() {
    DefaultHashService hashService = new DefaultHashService();
    hashService.setHashIterations(HASH_ITERATIONS);
    hashService.setHashAlgorithmName(Sha512Hash.ALGORITHM_NAME);
    hashService.setGeneratePublicSalt(true);

    DefaultPasswordService passwordService = new DefaultPasswordService();
    passwordService.setHashService(hashService);
    return passwordService;
}
项目:mondo-hawk    文件:UserStorage.java   
public static HashingPasswordService getPasswordService() {
    DefaultHashService hashService = new DefaultHashService();
    hashService.setHashIterations(HASH_ITERATIONS);
    hashService.setHashAlgorithmName(Sha512Hash.ALGORITHM_NAME);
    hashService.setGeneratePublicSalt(true);

    DefaultPasswordService passwordService = new DefaultPasswordService();
    passwordService.setHashService(hashService);
    return passwordService;
}
项目:mondo-collab-framework    文件:UserStorage.java   
public static HashingPasswordService getPasswordService() {
    DefaultHashService hashService = new DefaultHashService();
    hashService.setHashIterations(HASH_ITERATIONS);
    hashService.setHashAlgorithmName(Sha512Hash.ALGORITHM_NAME);
    hashService.setGeneratePublicSalt(true);

    DefaultPasswordService passwordService = new DefaultPasswordService();
    passwordService.setHashService(hashService);
    return passwordService;
}
项目:fabric8-cxf-shiro    文件:AuthenticationServiceImpl.java   
public HashingPasswordService getPasswordService() {
  return passwordService;
}
项目:fabric8-cxf-shiro    文件:AuthenticationServiceImpl.java   
public void setPasswordService(HashingPasswordService passwordService) {
  this.passwordService = passwordService;
}