org.eclipse.jetty.security.authentication
接口 LoginCallback

所有已知实现类:
LoginCallbackImpl

public interface LoginCallback

This is similar to the jaspi PasswordValidationCallback but includes user principal and group info as well.

版本:
$Rev: 4792 $ $Date: 2009-03-18 22:55:52 +0100 (Wed, 18 Mar 2009) $

方法摘要
 void clearPassword()
           
 Object getCredential()
           
 String[] getRoles()
           
 Subject getSubject()
           
 String getUserName()
           
 Principal getUserPrincipal()
           
 boolean isSuccess()
           
 void setRoles(String[] roles)
           
 void setSuccess(boolean success)
           
 void setUserPrincipal(Principal userPrincipal)
           
 

方法详细信息

getSubject

Subject getSubject()

getUserName

String getUserName()

getCredential

Object getCredential()

isSuccess

boolean isSuccess()

setSuccess

void setSuccess(boolean success)

getUserPrincipal

Principal getUserPrincipal()

setUserPrincipal

void setUserPrincipal(Principal userPrincipal)

getRoles

String[] getRoles()

setRoles

void setRoles(String[] roles)

clearPassword

void clearPassword()


Copyright © 2013. All Rights Reserved.