Java Reference
In-Depth Information
value="${jboss.server.config.dir}/
ejb-users.properties"/>
<module-option
name="defaultRolesProperties"
value="${jboss.server.config.dir}/
ejb-roles.properties"/>
<module-option name="usersProperties"
value="${jboss.server.config.dir}/
ejb-users.properties"/>
<module-option name="rolesProperties"
value="${jboss.server.config.dir}/
ejb-roles.properties"/>
<module-option name="password-stacking"
value="useFirstPass"/>
</login-module>
</authentication>
</security-domain>
As you can imagine, you need to create the two property files each with some values
in them. For example, here's the ejb-user.properties file to be placed in the
server configuration's folder:
adminUser=admin123
And this is corresponding ejb-roles.properties file that grants the role
ejbRole to the adminUser role:
adminUser=ejbRole
The last configuration effort would be specifying it in the security-realm attribute
of your remoting connector's element:
<subsystem
xmlns="urn:jboss:domain:remoting:1.1">
<connector name="remoting-connector"
socket-binding="remoting"
Search WWH ::




Custom Search