In my geronimo-web.xml the only entries I have related to the security realm are
<web:security-realm-name>MyAppSecurityRealm</web:security-realm-name>
<sec:security>
<sec:role-mappings>
<sec:role role-name="admin"/>
<sec:role role-name="user"/>
</sec:role-mappings>
</sec:security>
Of course the MyAppSecurityRealm I created from the geronimo console.
In web.xml I define the roles and the resources these roles have access to.
Marshall
>>> "Sarah.kho" <[email protected]> 4/5/2010 12:42 PM >>>
Hi,
Any comment?
Thanks.
--
View this message in context:
http://n3.nabble.com/how-to-add-authentication-to-a-web-application-tp681613p698305.html
Sent from the Users mailing list archive at Nabble.com.