[jboss-jira] [JBoss JIRA] Created: (JBAS-3729) Add alternate run-as mappings for container callbacks

Scott M Stark (JIRA) jira-events at jboss.com
Fri Sep 29 17:42:41 EDT 2006


Add alternate run-as mappings for container callbacks
-----------------------------------------------------

                 Key: JBAS-3729
                 URL: http://jira.jboss.com/jira/browse/JBAS-3729
             Project: JBoss Application Server
          Issue Type: Feature Request
      Security Level: Public (Everyone can see)
          Components: EJB2, EJB3, Security, Web (Tomcat) service
    Affects Versions: JBossAS-4.0.4.GA
            Reporter: Scott M Stark
         Assigned To: Scott M Stark
             Fix For: JBossAS-4.0.6.CR1


Other app servers support anlternate run-as semantics from the container init/destroy lifecycle callbacks. Weblogic for example:
http://e-docs.bea.com/wls/docs81/webapp/weblogic_xml.html#1041058

This is an equivalent of <run-as> for init method for servlets. For example:
      <init-as>
        <servlet-name>FooServlet</servlet-name>
        <principal-name>joe</principal-name>
      </init-as>

   <destroy-as>
    <servlet-name>BarServlet</servlet-name>
    <principal-name>bob</principal-name>
  </destroy-as>

This would allow more control over how these methods interact with secured resources. Similar options could be added for ejb lifecycle methods as well.


-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list