org.eclipse.jetty.security.authentication
类 LoginCallbackImpl
java.lang.Object
org.eclipse.jetty.security.authentication.LoginCallbackImpl
- 所有已实现的接口:
- LoginCallback
public class LoginCallbackImpl
- extends Object
- implements LoginCallback
This is similar to the jaspi PasswordValidationCallback but includes user
principal and group info as well.
- 版本:
- $Rev: 4793 $ $Date: 2009-03-19 00:00:01 +0100 (Thu, 19 Mar 2009) $
| 从类 java.lang.Object 继承的方法 |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LoginCallbackImpl
public LoginCallbackImpl(Subject subject,
String userName,
Object credential)
getSubject
public Subject getSubject()
- 指定者:
- 接口
LoginCallback 中的 getSubject
getUserName
public String getUserName()
- 指定者:
- 接口
LoginCallback 中的 getUserName
getCredential
public Object getCredential()
- 指定者:
- 接口
LoginCallback 中的 getCredential
isSuccess
public boolean isSuccess()
- 指定者:
- 接口
LoginCallback 中的 isSuccess
setSuccess
public void setSuccess(boolean success)
- 指定者:
- 接口
LoginCallback 中的 setSuccess
getUserPrincipal
public Principal getUserPrincipal()
- 指定者:
- 接口
LoginCallback 中的 getUserPrincipal
setUserPrincipal
public void setUserPrincipal(Principal userPrincipal)
- 指定者:
- 接口
LoginCallback 中的 setUserPrincipal
getRoles
public String[] getRoles()
- 指定者:
- 接口
LoginCallback 中的 getRoles
setRoles
public void setRoles(String[] groups)
- 指定者:
- 接口
LoginCallback 中的 setRoles
clearPassword
public void clearPassword()
- 指定者:
- 接口
LoginCallback 中的 clearPassword
Copyright © 2013. All Rights Reserved.