org.objectweb.jonas.security.jacc.JPolicyContextHandlerData Class Reference

List of all members.

Public Member Functions

 JPolicyContextHandlerData ()
HttpServletRequest getHttpServletRequest ()
void setHttpServletRequest (HttpServletRequest httpServletRequest)
Object[] getEjbArguments ()
void setEjbArguments (Object[] ejbArguments)
Subject getContainerSubject ()
EnterpriseBean getProcessingBean ()
void setProcessingBean (EnterpriseBean processingBean)

Detailed Description

This class is given to PolicyContext. This allow to associate thread-scoped object with the PolicyContext
See also:
javax.security.jacc.PolicyContext
Author:
Florent Benoit

Definition at line 44 of file JPolicyContextHandlerData.java.


Constructor & Destructor Documentation

org.objectweb.jonas.security.jacc.JPolicyContextHandlerData.JPolicyContextHandlerData  ) 
 

Default private constructor

Definition at line 67 of file JPolicyContextHandlerData.java.


Member Function Documentation

Subject org.objectweb.jonas.security.jacc.JPolicyContextHandlerData.getContainerSubject  ) 
 

Gets the current subject (if no user is authenticated, return null)

Returns:
the container's subject

Definition at line 104 of file JPolicyContextHandlerData.java.

References org.objectweb.security.context.SecurityContext.getCallerPrincipal(), org.objectweb.security.context.SecurityCurrent.getSecurityContext(), and org.objectweb.security.context.SecurityContext.peekRunAsRole().

Referenced by org.objectweb.jonas.security.jacc.JPolicyContextHandler.getContext().

Here is the call graph for this function:

Object [] org.objectweb.jonas.security.jacc.JPolicyContextHandlerData.getEjbArguments  ) 
 

Returns:
the ejb Arguments.

Definition at line 88 of file JPolicyContextHandlerData.java.

Referenced by org.objectweb.jonas.security.jacc.JPolicyContextHandler.getContext().

HttpServletRequest org.objectweb.jonas.security.jacc.JPolicyContextHandlerData.getHttpServletRequest  ) 
 

Returns:
Returns the httpServletRequest.

Definition at line 74 of file JPolicyContextHandlerData.java.

Referenced by org.objectweb.jonas.security.jacc.JPolicyContextHandler.getContext().

EnterpriseBean org.objectweb.jonas.security.jacc.JPolicyContextHandlerData.getProcessingBean  ) 
 

Returns:
the processingBean.

Definition at line 127 of file JPolicyContextHandlerData.java.

void org.objectweb.jonas.security.jacc.JPolicyContextHandlerData.setEjbArguments Object[]  ejbArguments  ) 
 

Set the EJB arguments which can be used by policy provider

Parameters:
ejbArguments The ejb Arguments to set.

Definition at line 96 of file JPolicyContextHandlerData.java.

Referenced by org.objectweb.jonas_ejb.container.PermissionManager.checkSecurity().

void org.objectweb.jonas.security.jacc.JPolicyContextHandlerData.setHttpServletRequest HttpServletRequest  httpServletRequest  ) 
 

Parameters:
httpServletRequest The httpServletRequest to set.

Definition at line 81 of file JPolicyContextHandlerData.java.

void org.objectweb.jonas.security.jacc.JPolicyContextHandlerData.setProcessingBean EnterpriseBean  processingBean  ) 
 

Parameters:
processingBean The bean being processed

Definition at line 134 of file JPolicyContextHandlerData.java.

Referenced by org.objectweb.jonas_ejb.container.PermissionManager.checkSecurity().


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