1 Reply Latest reply on Jun 10, 2010 8:12 AM by Wolfgang Knauf

    How to validate (j_sercurity_check) in JBOSS (Please help me)

    Blaine Monkey Newbie

      I've a web application running in tomcat, but I need use JBOSS. Tomcat uses jdbc realm to validate. I don't know how can I do the same in JBoss.

       

      My login.jsp page uses j_security check, I've configured the JDBC Realm in the server.xml Tomcat file. For example:

       

      <Context docBase="PerApp" path="/PerApp" reloadable="true" source="org.eclipse.jst.jee.server:PerApp">
           
            <Realm className="org.apache.catalina.realm.JDBCRealm"
                      connectionName="admin" connectionPassword="personal"
                          connectionURL="jdbc:oracle:thin:@192.168.100.15:1521:Per"
                          driverName="oracle.jdbc.driver.OracleDriver"
                          roleNameCol="role_name" userCredCol="user_pass"
                          userNameCol="user_name" userRoleTable="user_roles"
                          userTable="users"/>
           
            </Context>

       

      How Can I do the same in JBoss?