org.jboss.jetty.security
Class JBossIdentityService.JBossUserIdentity
java.lang.Object
org.jboss.jetty.security.JBossIdentityService.JBossUserIdentity
- All Implemented Interfaces:
- org.eclipse.jetty.server.UserIdentity
- Enclosing class:
- JBossIdentityService
public class JBossIdentityService.JBossUserIdentity
- extends Object
- implements org.eclipse.jetty.server.UserIdentity
| Nested classes/interfaces inherited from interface org.eclipse.jetty.server.UserIdentity |
org.eclipse.jetty.server.UserIdentity.Scope, org.eclipse.jetty.server.UserIdentity.UnauthenticatedUserIdentity |
| Fields inherited from interface org.eclipse.jetty.server.UserIdentity |
UNAUTHENTICATED_IDENTITY |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JBossIdentityService.JBossUserIdentity
public JBossIdentityService.JBossUserIdentity(Subject subject,
Principal principal)
getRoles
public String[] getRoles()
getSubject
public Subject getSubject()
- Specified by:
getSubject in interface org.eclipse.jetty.server.UserIdentity
getUserPrincipal
public Principal getUserPrincipal()
- Specified by:
getUserPrincipal in interface org.eclipse.jetty.server.UserIdentity
isUserInRole
public boolean isUserInRole(String role,
org.eclipse.jetty.server.UserIdentity.Scope scope)
- Specified by:
isUserInRole in interface org.eclipse.jetty.server.UserIdentity
Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.