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 crypto(String password)
           
 String crypto(String password, String salt)
           
static PasswordService instance()
           
 boolean match(String password, String result)
           
 boolean match(String password, String result, String salt)
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

DefaultPasswordService

public DefaultPasswordService()
方法详细信息

instance

public static PasswordService instance()

crypto

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

crypto

public String crypto(String password,
                     String salt)
指定者:
接口 PasswordService 中的 crypto

match

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

match

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


Copyright © 2015. All rights reserved.