org.jboss.jetty.security
Class JBossIdentityService

java.lang.Object
  extended by org.eclipse.jetty.security.DefaultIdentityService
      extended by org.jboss.jetty.security.JBossIdentityService
All Implemented Interfaces:
org.eclipse.jetty.security.IdentityService

public class JBossIdentityService
extends org.eclipse.jetty.security.DefaultIdentityService


Nested Class Summary
 class JBossIdentityService.JBossUserIdentity
           
 
Field Summary
 
Fields inherited from interface org.eclipse.jetty.security.IdentityService
NO_ROLES
 
Constructor Summary
JBossIdentityService(String realmName)
           
 
Method Summary
 Object associate(org.eclipse.jetty.server.UserIdentity user)
           
 void disassociate(Object previous)
           
 org.eclipse.jetty.server.UserIdentity newUserIdentity(Subject subject, Principal userPrincipal, String[] roles)
           
 void setRealmMapping(org.jboss.security.RealmMapping realmMapping)
           
 Object setRunAs(org.eclipse.jetty.server.UserIdentity identity, org.eclipse.jetty.security.RunAsToken token)
           
 void unsetRunAs(Object lastToken)
           
 
Methods inherited from class org.eclipse.jetty.security.DefaultIdentityService
getSystemUserIdentity, newRunAsToken
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JBossIdentityService

public JBossIdentityService(String realmName)
Method Detail

setRealmMapping

public void setRealmMapping(org.jboss.security.RealmMapping realmMapping)

associate

public Object associate(org.eclipse.jetty.server.UserIdentity user)
Specified by:
associate in interface org.eclipse.jetty.security.IdentityService
Overrides:
associate in class org.eclipse.jetty.security.DefaultIdentityService

disassociate

public void disassociate(Object previous)
Specified by:
disassociate in interface org.eclipse.jetty.security.IdentityService
Overrides:
disassociate in class org.eclipse.jetty.security.DefaultIdentityService

setRunAs

public Object setRunAs(org.eclipse.jetty.server.UserIdentity identity,
                       org.eclipse.jetty.security.RunAsToken token)
Specified by:
setRunAs in interface org.eclipse.jetty.security.IdentityService
Overrides:
setRunAs in class org.eclipse.jetty.security.DefaultIdentityService

unsetRunAs

public void unsetRunAs(Object lastToken)
Specified by:
unsetRunAs in interface org.eclipse.jetty.security.IdentityService
Overrides:
unsetRunAs in class org.eclipse.jetty.security.DefaultIdentityService

newUserIdentity

public org.eclipse.jetty.server.UserIdentity newUserIdentity(Subject subject,
                                                             Principal userPrincipal,
                                                             String[] roles)
Specified by:
newUserIdentity in interface org.eclipse.jetty.security.IdentityService
Overrides:
newUserIdentity in class org.eclipse.jetty.security.DefaultIdentityService


Copyright © 1995-2011 Mort Bay Consulting. All Rights Reserved.