jakarta-cactus-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magnus Grimsell" <magnus.grims...@idainfront.se>
Subject testing secured ejb:s
Date Thu, 10 Feb 2005 08:18:36 GMT
In order to test secured EJB:s I would need to have the servlet-redirector running as a certain
principal. Is this supported by the cactifywar task? I would like the web.xml to look something
like this:

    <servlet>
        <servlet-name>ServletRedirector</servlet-name>
        <servlet-class>org.apache.cactus.server.ServletTestRedirector</servlet-class>
        <run-as>
            <role-name>myPrincipal</role-name>
        </run-as>
    </servlet>

*********************
Magnus Grimsell
Ida Infront Ab
magnus.grimsell@idainfront.se


Mime
View raw message