Ok I got a little farther. Hopefully someone can help now that i've added more details. My goal is to set up DB Authentication.
I get the ugly login box popping up as you'd expect but at first it was throwing this exception, missing a few user and role properties files, which I added and got rid of error. | 13:58:50,015 ERROR [UsersRolesLoginModule] Failed to load users/passwords/role files | java.io.IOException: No properties file: users.properties or defaults: defaultUsers.properties found | at org.jboss.security.auth.spi.Util.loadProperties(Util.java:313) | at org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:186) | at org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:200) | at org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:127) | Now I don't get a successfull login OR anything in the logs. Im at a stand still. I have 2 basic questions: -How do i enable logging so I can see what its trying to do in the console? -What am i doing wrong? jboss-web.xml <jboss-web><security-domain>java:jaas/myauth</security-domain></jboss-web> web-inf/login-config.xml <policy> | <!-- For the JCR CMS --> | <application-policy name="myauth"> | <authentication> | <login-module code = "org.jboss.security.auth.spi.DatabaseServerLoginModule" flag = "required"> | <module-option name = "unauthenticatedIdentity">guest</module-option> | <module-option name = "dsJndiName">java:/PortalDS</module-option> | <module-option name = "principalsQuery">SELECT jbp_uname, jbp_password FROM jbp_users WHERE jbp_uname=?</module-option> | <module-option name = "rolesQuery">SELECT jbp_rid, 'Roles' FROM Jbp_roles WHERE jbp_uid=?</module-option> | | </login-module> | </authentication> | </application-policy> | | | </policy> web.xml | | <security-constraint> | <web-resource-collection> | <web-resource-name>myauth</web-resource-name> | <url-pattern>/*</url-pattern> | </web-resource-collection> | <auth-constraint> | <role-name>Users</role-name> | </auth-constraint> | </security-constraint> | | <login-config> | <auth-method>BASIC</auth-method> | <realm-name>myauth</realm-name> | </login-config> | | <security-role> | <description>The role required to access restricted content</description> | <role-name>Users</role-name> | </security-role> | jbossweb-tomcat55.sar/server.xml | <Valve className="org.apache.catalina.authenticator.SingleSignOn" /> | jbossweb-tomcat55.sar/META-INF/jboss-service.xml | <attribute name="Authenticators" serialDataType="jbxb"> | <java:properties xmlns:java="urn:jboss:java-properties" | xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" | xs:schemaLocation="urn:jboss:java-properties resource:java-properties_1_0.xsd"> | <java:property> | <java:key>BASIC</java:key> | <java:value>org.apache.catalina.authenticator.BasicAuthenticator</java:value> | </java:property> | <java:property> | <java:key>CLIENT-CERT</java:key> | <java:value>org.apache.catalina.authenticator.SSLAuthenticator</java:value> | </java:property> | <java:property> | <java:key>DIGEST</java:key> | <java:value>org.apache.catalina.authenticator.DigestAuthenticator</java:value> | </java:property> | <java:property> | <java:key>FORM</java:key> | <java:value>org.apache.catalina.authenticator.FormAuthenticator</java:value> | </java:property> | <java:property> | <java:key>NONE</java:key> | <java:value>org.apache.catalina.authenticator.NonLoginAuthenticator</java:value> | </java:property> | </java:properties> | </attribute> | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3985432#3985432 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3985432 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user