org.ow2.jonas.lib.security.jacc.handlers
Class JPolicyContextHandlerData

java.lang.Object
  extended by org.ow2.jonas.lib.security.jacc.handlers.JPolicyContextHandlerData

public class JPolicyContextHandlerData
extends Object

This class is given to PolicyContext. This allow to associate thread-scoped object with the PolicyContext

Author:
Florent Benoit
See Also:
PolicyContext

Constructor Summary
JPolicyContextHandlerData()
          Default private constructor
 
Method Summary
 Subject getContainerSubject()
          Gets the current subject (if no user is authenticated, return null)
 Object[] getEjbArguments()
           
 HttpServletRequest getHttpServletRequest()
           
 EnterpriseBean getProcessingBean()
           
 void setEjbArguments(Object[] ejbArguments)
          Set the EJB arguments which can be used by policy provider
 void setHttpServletRequest(HttpServletRequest httpServletRequest)
           
 void setProcessingBean(EnterpriseBean processingBean)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPolicyContextHandlerData

public JPolicyContextHandlerData()
Default private constructor

Method Detail

getHttpServletRequest

public HttpServletRequest getHttpServletRequest()
Returns:
Returns the httpServletRequest.

setHttpServletRequest

public void setHttpServletRequest(HttpServletRequest httpServletRequest)
Parameters:
httpServletRequest - The httpServletRequest to set.

getEjbArguments

public Object[] getEjbArguments()
Returns:
the ejb Arguments.

setEjbArguments

public void setEjbArguments(Object[] ejbArguments)
Set the EJB arguments which can be used by policy provider

Parameters:
ejbArguments - The ejb Arguments to set.

getContainerSubject

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

Returns:
the container's subject

getProcessingBean

public EnterpriseBean getProcessingBean()
Returns:
the processingBean.

setProcessingBean

public void setProcessingBean(EnterpriseBean processingBean)
Parameters:
processingBean - The bean being processed


Copyright © 2010 OW2 Consortium. All Rights Reserved.