org.eclipse.jetty.security
类 UserAuthentication

java.lang.Object
  继承者 org.eclipse.jetty.security.UserAuthentication
所有已实现的接口:
Authentication, Authentication.User
直接已知子类:
FormAuthenticator.FormAuthentication

public class UserAuthentication
extends Object
implements Authentication.User

版本:
$Rev: 4793 $ $Date: 2009-03-19 00:00:01 +0100 (Thu, 19 Mar 2009) $

嵌套类摘要
 
从接口 org.eclipse.jetty.server.Authentication 继承的嵌套类/接口
Authentication.Challenge, Authentication.Deferred, Authentication.Failure, Authentication.ResponseSent, Authentication.SendSuccess, Authentication.User, Authentication.Wrapped
 
字段摘要
 
从接口 org.eclipse.jetty.server.Authentication 继承的字段
NOT_CHECKED, SEND_CONTINUE, SEND_FAILURE, SEND_SUCCESS, UNAUTHENTICATED
 
构造方法摘要
UserAuthentication(String method, UserIdentity userIdentity)
           
 
方法摘要
 String getAuthMethod()
           
 UserIdentity getUserIdentity()
           
 boolean isUserInRole(UserIdentity.Scope scope, String role)
           
 void logout()
           
 String toString()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

构造方法详细信息

UserAuthentication

public UserAuthentication(String method,
                          UserIdentity userIdentity)
方法详细信息

getAuthMethod

public String getAuthMethod()
指定者:
接口 Authentication.User 中的 getAuthMethod

getUserIdentity

public UserIdentity getUserIdentity()
指定者:
接口 Authentication.User 中的 getUserIdentity

isUserInRole

public boolean isUserInRole(UserIdentity.Scope scope,
                            String role)
指定者:
接口 Authentication.User 中的 isUserInRole

toString

public String toString()
覆盖:
Object 中的 toString

logout

public void logout()
指定者:
接口 Authentication.User 中的 logout


Copyright © 2013. All Rights Reserved.