I guess the obvious answer is just to parse the file with xerces or
something. 

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] 
Sent: Thursday, March 09, 2006 2:46 PM
To: [email protected]
Subject: [magnolia-user] Parse webapp deployment descriptor data?

I composed a version of the SimpleNavigationTag class that gets a users
(Tomcat Realm) roles, matches them against a 'constrain_role' value
saved in the page's nodeData, and hides the navigation item if the user
doesn't have the role.

I also need to configure the security-constraint in web.xml. Is it
possible to have the class read this config info as an alternate way to
get the constrained roles into the process. This way, I wouldn't need to
configure them in two places, & they would never get out of sync.

Regards,
Bob V

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

----------------------------------------------------------------
for list details see
http://www.magnolia.info/en/magnolia/developer.html
----------------------------------------------------------------

Reply via email to