[jboss-dev-forums] [JBoss AS 7 Development] - JBoss 7 and Ejb remote call with security
Darran Lofthouse
do-not-reply at jboss.com
Fri Feb 24 09:20:40 EST 2012
Darran Lofthouse [https://community.jboss.org/people/dlofthouse] commented on the document
"JBoss 7 and Ejb remote call with security"
To view all comments on this document, visit: https://community.jboss.org/docs/DOC-17581#comment-9050
--------------------------------------------------
Do you see an option to convert this to a discussion? Would probably make more sense as a discussion than an article.
Anyway you seem to be having the local authentication mechanism kick in for these calls so you need to disable the mechanism on the client side, for JNDI this can be achieved with the following option: -
> jndiProperties.put("jboss.naming.client.connect.options.org.xnio.Options.SASL_DISALLOWED_MECHANISMS", *"*JBOSS-LOCAL-USER");
For the EJB connection you will need a line simiar to: -
> remote.connection.default.connect.options.org.xnio.Options.SASL_DISALLOWED_MECHANISMS=JBOSS-LOCAL-USER
(But adjust the connection name to match the name you are using.)
--------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120224/665e4a8e/attachment.html
More information about the jboss-dev-forums
mailing list