JBoss EJB client 1.0.11.Final-redhat-1

org.jboss.ejb.client.remoting
Class RemotingConnectionUtil

java.lang.Object
  extended by org.jboss.ejb.client.remoting.RemotingConnectionUtil

public class RemotingConnectionUtil
extends Object

Author:
Jaikiran Pai

Constructor Summary
RemotingConnectionUtil()
           
 
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
 

Constructor Detail

RemotingConnectionUtil

public RemotingConnectionUtil()
Method Detail

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

Parameters:
callbackHandler - The callback handler
connectionCreationOptions - 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

JBoss EJB client 1.0.11.Final-redhat-1

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.