org.eclipse.jetty.plus.jaas
类 JAASUserPrincipal

java.lang.Object
  继承者 org.eclipse.jetty.plus.jaas.JAASUserPrincipal
所有已实现的接口:
Principal

public class JAASUserPrincipal
extends Object
implements Principal

JAASUserPrincipal

Implements the JAAS version of the org.eclipse.jetty.http.UserPrincipal interface.

版本:
$Id: JAASUserPrincipal.java 4780 2009-03-17 15:36:08Z jesse $

构造方法摘要
JAASUserPrincipal(String name, Subject subject, LoginContext loginContext)
           
 
方法摘要
 String getName()
          Get the name identifying the user
 Subject getSubject()
          Provide access to the Subject
 String toString()
           
 
从类 java.lang.Object 继承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
从接口 java.security.Principal 继承的方法
equals, hashCode
 

构造方法详细信息

JAASUserPrincipal

public JAASUserPrincipal(String name,
                         Subject subject,
                         LoginContext loginContext)
方法详细信息

getName

public String getName()
Get the name identifying the user

指定者:
接口 Principal 中的 getName

getSubject

public Subject getSubject()
Provide access to the Subject

返回:
subject

toString

public String toString()
指定者:
接口 Principal 中的 toString
覆盖:
Object 中的 toString


Copyright © 2013. All Rights Reserved.