public class JAASUserPrincipal
extends java.lang.Object
implements java.security.Principal
Implements the JAAS version of the org.eclipse.jetty.http.UserPrincipal interface.
Constructor and Description |
---|
JAASUserPrincipal(java.lang.String name,
javax.security.auth.Subject subject,
javax.security.auth.login.LoginContext loginContext) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Get the name identifying the user
|
javax.security.auth.Subject |
getSubject()
Provide access to the Subject
|
java.lang.String |
toString() |
public JAASUserPrincipal(java.lang.String name, javax.security.auth.Subject subject, javax.security.auth.login.LoginContext loginContext)
public java.lang.String getName()
getName
in interface java.security.Principal
public javax.security.auth.Subject getSubject()
public java.lang.String toString()
toString
in interface java.security.Principal
toString
in class java.lang.Object
Copyright © 1995–2023 Webtide. All rights reserved.