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.
| 从类 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.