[jboss-user] [Security & JAAS/JBoss] - Re: Complete set of example snippets of JAAS + LDAP code and

2007-05-30 Thread illipilla
1. Add the following snippet to the conf/login-config.xml. You want modify the basefilter and rolefilter as per your needs. com.sun.jndi.ldap.LdapCtxFactory ldap://LDAPSERVER:389 uid=adminuser,ou=admin,ou=corporate,dc=company,dc=

[jboss-user] [Security & JAAS/JBoss] - Runas identity for a jsp/servlet does not work

2007-05-28 Thread illipilla
Hi I have been trouble shooting an issue where in I could not get Runas principal work for a jsp that is marked with run-as tag. Looks like the http://jira.jboss.com/jira/browse/JBAS-1297 has fixed part of my issue. But it still does not work. Below are my web.xml snippets (adding only requ