org.objectweb.security.context.SecurityCurrent Class Reference

Collaboration diagram for org.objectweb.security.context.SecurityCurrent:

Collaboration graph
[legend]
List of all members.

Public Member Functions

void setSecurityContext (SecurityContext ctx)
void setGlobalSecurityContext (SecurityContext ctx)
SecurityContext getSecurityContext ()

Static Public Member Functions

SecurityCurrent getCurrent ()

Static Package Functions

 [static initializer]

Detailed Description

For handling the association SecurityContext/ Thread
Author:
Jeff Mesnil

Definition at line 35 of file SecurityCurrent.java.


Member Function Documentation

org.objectweb.security.context.SecurityCurrent.[static initializer]  )  [static, package]
 

Init the thread

SecurityCurrent org.objectweb.security.context.SecurityCurrent.getCurrent  )  [static]
 

Method getCurrent

Returns:
SecurityCurrent return the current

Definition at line 64 of file SecurityCurrent.java.

Referenced by org.objectweb.jonas.security.realm.web.jetty50.Standard.getPrincipal(), org.objectweb.jonas.security.auth.spi.ClientLoginModule.logout(), and org.objectweb.jonas.security.interceptors.jrmp.ServerSecurityInterceptor.send_reply().

SecurityContext org.objectweb.security.context.SecurityCurrent.getSecurityContext  ) 
 

Method getSecurityContext

Returns:
SecurityContext return the Security context associated to the current thread

Definition at line 89 of file SecurityCurrent.java.

Referenced by org.objectweb.jonas_ejb.container.JFactory.checkSecurity(), org.objectweb.jonas_ejb.container.PermissionManager.checkSecurity(), org.objectweb.jonas_ejb.container.JMessageEndpoint.getCallerPrincipal(), org.objectweb.jonas.container.PrincipalFactoryImpl.getCallerPrincipal(), org.objectweb.jonas.security.jacc.JPolicyContextHandlerData.getContainerSubject(), org.objectweb.jonas.security.iiop.SecurityContextHelper.getIdentityToken(), org.objectweb.jonas.security.iiop.SecurityContextHelper.getInitialContextToken(), org.objectweb.jonas_ejb.container.PermissionManager.isCallerInRole(), org.objectweb.jonas_ejb.container.JFactory.postInvoke(), org.objectweb.jonas.security.interceptors.jrmp.ClientSecurityInterceptor.send_request(), and org.objectweb.jonas.security.interceptors.iiop.CorbaClientSecurityInterceptor.send_request().

void org.objectweb.security.context.SecurityCurrent.setGlobalSecurityContext SecurityContext  ctx  ) 
 

Method setSecurityContext used for client container

Parameters:
ctx Security context to associate to the JVM

Definition at line 80 of file SecurityCurrent.java.

Referenced by org.objectweb.jonas.security.auth.spi.ClientLoginModule.commit().

void org.objectweb.security.context.SecurityCurrent.setSecurityContext SecurityContext  ctx  ) 
 

Method setSecurityContext

Parameters:
ctx Security context to associate to the current thread

Definition at line 72 of file SecurityCurrent.java.

Referenced by org.objectweb.jonas.security.realm.web.jetty50.Standard.authenticate(), org.objectweb.jonas.security.realm.web.catalina50.Standard.authenticate(), org.objectweb.jonas.security.realm.web.catalina50.JACC.authenticate(), org.objectweb.jonas.security.realm.web.jetty50.JAAS.authenticate(), org.objectweb.jonas.security.realm.web.catalina50.JAAS.authenticate(), org.objectweb.jonas_ejb.container.JFactory.checkSecurity(), org.objectweb.jonas.security.auth.spi.ClientLoginModule.commit(), org.objectweb.jonas_ejb.container.JMessageEndpoint.getCallerPrincipal(), org.objectweb.jonas.security.realm.web.jetty50.Standard.getPrincipal(), org.objectweb.jonas.security.AbsSecurityContextHelper.login(), org.objectweb.jonas.security.auth.spi.ClientLoginModule.logout(), org.objectweb.jonas.security.interceptors.jrmp.ServerSecurityInterceptor.receive_request(), org.objectweb.jonas.security.interceptors.iiop.CorbaServerSecurityInterceptor.receive_request(), and org.objectweb.jonas.security.interceptors.jrmp.ServerSecurityInterceptor.send_reply().


The documentation for this class was generated from the following file:
Generated on Tue Feb 15 15:14:03 2005 for JOnAS by  doxygen 1.3.9.1