| 1. |
How Do I Integrate A Tapestry Application With J2ee Declarative Security/jaas? |
|
Answer» In web.xml: add an ADDITIONAL servlet mapping for your tapestry application to /admin, and add the following:
In your base class for protected pages: public void validate(IRequestCycle cycle) throws RequestCycleException { you can have a number of mappings for the same app-servlet to different URIs, that WAY you can rely a BIT more on the declarative security. In web.xml: add an additional servlet mapping for your tapestry application to /admin, and add the following: In your base class for protected pages: public void validate(IRequestCycle cycle) throws RequestCycleException { you can have a number of mappings for the same app-servlet to different URIs, that way you can rely a bit more on the declarative security. |
|