Java Reference
In-Depth Information
Note
If you want to use a login module via EJB remoting, you must configure your security
realm accordingly using the JAAS entry, as shown in the following code:
<security-realm name="ApplicationRealm">
<authentication>
<jaas name="dbdomain"/>
</authentication>
</security-realm>
Additionally, you should place the following entries in jbossyourjboss-ejb-
client-properties :
remote.connection.default.username=admin
remote.connection.default.password=admin
remote.connectionprovider.create.options.org.xnio.Options.SSL_ENABLED=false
remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOPLAINTEXT=false
remote.connection.default.connect.options.org.xnio.Options.SASL_POLICY_NOANONYMOUS=true
These entries will ensure (besides passing the credentials), that the transmitted password
will not be additionally hashed by the remoting mechanism.
Search WWH ::




Custom Search