authentication for just a sub-app

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

authentication for just a sub-app

Duane Gran-2
I'm trying to setup container-managed authentication for a given  
XForm under the apps directory but it isn't working for me.  The  
authentication never appears with the following url-pattern in web.xml:

     <security-constraint>
         <web-resource-collection>
             <web-resource-name>Administration</web-resource-name>
             <url-pattern>/ops/ab/</url-pattern>
         </web-resource-collection>
         <auth-constraint>
             <role-name>system-user</role-name>
         </auth-constraint>
     </security-constraint>

If I change the url-pattern to to "/" then it works, but then I have  
a single authentication scheme for every application within OPS,  
which isn't what I want.  I only want authentication for the "ab"  
application, and likely down the road a separate auth routine for  
other apps.  Can anyone advise on what one needs to do to accomplish  
this?  Thank you.

Duane



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: authentication for just a sub-app

Alessandro Vernet
Administrator
On 3/6/07, Duane Gran <[hidden email]> wrote:
>              <url-pattern>/ops/ab/</url-pattern>

Duane,

Have you tried: /ops/ab/*

Alex
--
Orbeon Forms - Web 2.0 Forms for the Enterprise
http://www.orbeon.com/



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws