[jboss-user] [Security & JAAS/JBoss] - Re: Tomcat MemoryRealm

justin_sane do-not-reply at jboss.com
Wed Dec 27 05:16:28 EST 2006


And how do I define the realm?

In jboss\server\default\conf\login-config.xml, like:
<application-policy name="userDatabase">
    
        <login-module code="org.apache.catalina.users.MemoryUserDatabaseFactory" flag="required">
            <module-option name="usersProperties">props/users.properties</module-option>
            <module-option name="rolesProperties">props/roles.properties</module-option>
        </login-module>
    
</application-policy>
	
Or just copy/past what I had in conf/server.xml in Tomcat alone?

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3996411#3996411

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3996411



More information about the jboss-user mailing list