Sorry for asking this here but the documentation are really bad, and the suggested are far out-of-date. I tryed to make my application jass enabled and add this section to jboss.xml:
| <security-domain>java:/jaas/mcipro</security-domain> | <missing-method-permissions-excluded-mode>false</missing-method-permissions-excluded-mode> | <unauthenticated-principal>nobody</unauthenticated-principal> | and this one to login-config.xml | <application-policy name="mcipro"> | <authentication> | <login-module code="org.jboss.security.auth.spi.DatabaseServerLoginModule" | flag="required"> | <module-option name="unauthenticatedIdentity">guest</module-option> | <module-option name="dsJndiName">java:/mciproDS</module-option> | <module-option name="principalsQuery">SELECT password FROM User WHERE username=?</module-option> | <module-option name="rolesQuery">SELECT roleId, 'Roles' FROM Role WHERE user_userName=?</module-option> | </login-module> | </authentication> | </application-policy> | but my application still wants to authenticate against the "other" application-policy. How can I tell my application to use this application-policy? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940387#3940387 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940387 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
