Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

1.Config jboss-web.xml, the name after /jaas/ must be same with application-policy name in login-config.xml, and it is case-sensitive!!!

jboss-web.xml

2. Config login-config.xml, which locates in ${JBOSS}/server/conf or ${JBOSS}/server/default/conf

login-config.xml

3.In authentication.xml

authentication.xml

4.So, in mysql-ds.xml, which locate in ${JBOSS}/server/default/ folder, will have such definition for Data source

mysql-ds.xml

5.javax.security.auth.spi.LoginModule will implement javax.security.auth.spi.LoginModule interface
6.In login.jsp

login.jsp

7. To share JAAS across multip web application in one host. Adding following line in server.xml for Tomcat container. This file usually locate in ${JBOSS}/server/default/deploy/jbossweb-tomcat55.sar. For more detail please refer to http://jakarta.apache.org/tomcat/tomcat-5.0-doc/config/host.html#Single%20Sign%20On

server.xml

8. For web.xml (simliar for ejb-jar.xml), usually like this:

web.xml

9. For LAMS system special configuration in web.xml, need add a listener:

web.xml
  • No labels