I use in my application a jdbc-realm for web page login.
I can to deploy realm configuration by admin console and by admin cli.
I wish to discover a way to deploy it by an xml file, like a jdbc-resource or javamail session configuration.
I put into sun-resources.xml or sun-application.xml the follow code:
<auth-realm classname="com.sun.enterprise.security.auth.realm.jdbc.JDBCRealm" name="webmasterRealm">
<property name="jaas-context" value="jdbcRealm"/>
<property name="datasource-jndi" value="mydb_webbill"/>
<property name="user-table" value="webmaster"/>
<property name="user-name-column" value="email"/>
<property name="password-column" value="passwd"/>
<property name="group-table" value="groupUser"/>
<property name="group-name-column" value="groupName"/>
</auth-realm>
but it can't works.
[Message sent by forum member 'peppeme' (peppeme)]
http://forums.java.net/jive/thread.jspa?messageID=287999