cn.dreampie.security
类 DefaultPasswordService

java.lang.Object
  继承者 cn.dreampie.security.DefaultPasswordService
所有已实现的接口:
PasswordService

public class DefaultPasswordService
extends Object
implements PasswordService

Created by ice on 14-12-23.


构造方法摘要
DefaultPasswordService()
           
 
方法摘要
 String hash(String password)
           
static PasswordService instance()
           
 boolean match(String password, String passwordHash)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

DefaultPasswordService

public DefaultPasswordService()
方法详细信息

instance

public static PasswordService instance()

hash

public String hash(String password)
指定者:
接口 PasswordService 中的 hash

match

public boolean match(String password,
                     String passwordHash)
指定者:
接口 PasswordService 中的 match


Copyright © 2015. All rights reserved.