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) $

构造方法摘要
LoginCallbackImpl(Subject subject, String userName, Object credential)
           
 
方法摘要
 void clearPassword()
           
 Object getCredential()
           
 String[] getRoles()
           
 Subject getSubject()
           
 String getUserName()
           
 Principal getUserPrincipal()
           
 boolean isSuccess()
           
 void setRoles(String[] groups)
           
 void setSuccess(boolean success)
           
 void setUserPrincipal(Principal userPrincipal)
           
 
从类 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.