org.eclipse.jetty.security
Class SpnegoUserIdentity
java.lang.Object
org.eclipse.jetty.security.SpnegoUserIdentity
- All Implemented Interfaces:
- UserIdentity
public class SpnegoUserIdentity
- extends Object
- implements UserIdentity
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SpnegoUserIdentity
public SpnegoUserIdentity(Subject subject,
Principal principal,
List<String> roles)
getSubject
public Subject getSubject()
- Specified by:
getSubject in interface UserIdentity
getUserPrincipal
public Principal getUserPrincipal()
- Specified by:
getUserPrincipal in interface UserIdentity
isUserInRole
public boolean isUserInRole(String role,
UserIdentity.Scope scope)
- Specified by:
isUserInRole in interface UserIdentity
Copyright © 1995-2012 Mort Bay Consulting. All Rights Reserved.