org.eclipse.jetty.util.security
类 Credential.Crypt
java.lang.Object
org.eclipse.jetty.util.security.Credential
org.eclipse.jetty.util.security.Credential.Crypt
- 所有已实现的接口:
- Serializable
- 包容类:
- Credential
public static class Credential.Crypt
- extends Credential
Unix Crypt Credentials
- 另请参见:
- 序列化表格
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
__TYPE
public static final String __TYPE
- 另请参见:
- 常量字段值
check
public boolean check(Object credentials)
- 从类
Credential 复制的描述
- Check a credential
- 指定者:
- 类
Credential 中的 check
- 参数:
credentials - The credential to check against. This may either be
another Credential object, a Password object or a String
which is interpreted by this credential.
- 返回:
- True if the credentials indicated that the shared secret is known
to both this Credential and the passed credential.
crypt
public static String crypt(String user,
String pw)
Copyright © 2013. All Rights Reserved.