org.jboss.ejb.client.remoting
Class RemotingConnectionUtil
java.lang.Object
org.jboss.ejb.client.remoting.RemotingConnectionUtil
public class RemotingConnectionUtil
- extends Object
- Author:
- Jaikiran Pai
Method Summary |
static org.xnio.OptionMap |
addSilentLocalAuthOptionsIfApplicable(CallbackHandler callbackHandler,
org.xnio.OptionMap connectionCreationOptions)
Adds the jboss.sasl.local-user.quiet-auth property to the Options.SASL_PROPERTIES
in the passed connectionCreationOptions if
The passed callbackHandler is of type DefaultCallbackHandler
and the passed connectionCreationOptions doesn't already contain the Options.SASL_PROPERTIES
with the jboss.sasl.local-user.quiet-auth
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RemotingConnectionUtil
public RemotingConnectionUtil()
addSilentLocalAuthOptionsIfApplicable
public static org.xnio.OptionMap addSilentLocalAuthOptionsIfApplicable(CallbackHandler callbackHandler,
org.xnio.OptionMap connectionCreationOptions)
- Adds the
jboss.sasl.local-user.quiet-auth
property
to the Options.SASL_PROPERTIES
in the passed connectionCreationOptions
if
- The passed
callbackHandler
is of type DefaultCallbackHandler
- and the passed
connectionCreationOptions
doesn't already contain the Options.SASL_PROPERTIES
with the jboss.sasl.local-user.quiet-auth
- Parameters:
callbackHandler
- The callback handlerconnectionCreationOptions
- The connection creation options
- Returns:
- Returns the
OptionMap
with the jboss.sasl.local-user.quiet-auth Property
set to true
for the Options.SASL_PROPERTIES
option, if the necessary conditions, mentioned earlier, are met. Else, returns back
the passed connectionCreationOptions
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.