org.ow2.jasmine.adapter.jmx.pool.outbound.helper
Class WLSHelper

java.lang.Object
  extended by org.ow2.jasmine.adapter.jmx.pool.outbound.helper.WLSHelper

public class WLSHelper
extends java.lang.Object

Author:
WAESELYNCK-F

Constructor Summary
WLSHelper(javax.management.remote.JMXServiceURL jmxUrl, java.util.Map<java.lang.String,java.lang.Object> env)
           
 
Method Summary
 java.lang.String getCorbaName()
           
 javax.management.remote.JMXServiceURL getIORJmxUrl()
           
 boolean isWLSUrl()
           
static boolean isWLSUrl(javax.management.remote.JMXServiceURL jmxUrl)
           
static boolean isWLSUrl(java.lang.String url)
           
 java.util.Map translateCredentials(java.util.Map map)
          Workarround for weblogic.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WLSHelper

public WLSHelper(javax.management.remote.JMXServiceURL jmxUrl,
                 java.util.Map<java.lang.String,java.lang.Object> env)
Method Detail

isWLSUrl

public final boolean isWLSUrl()

getIORJmxUrl

public javax.management.remote.JMXServiceURL getIORJmxUrl()
                                                   throws javax.naming.NamingException,
                                                          java.net.MalformedURLException
Throws:
javax.naming.NamingException
java.net.MalformedURLException

translateCredentials

public java.util.Map translateCredentials(java.util.Map map)
Workarround for weblogic. It uses - java.naming.security.principal (Context.SECURITY_PRINCIPAL) - java.naming.security.credentials (Context.SECURITY_CREDENTIALS) whereas the standard expects: - jmx.remote.credentials (JMXConnector.CREDENTIALS) This method translates the "standard" credentials to that expected by t3

Parameters:
map -
Returns:
either the same or an updated map

getCorbaName

public java.lang.String getCorbaName()

isWLSUrl

public static final boolean isWLSUrl(javax.management.remote.JMXServiceURL jmxUrl)

isWLSUrl

public static final boolean isWLSUrl(java.lang.String url)


Copyright © 2009 OW2 Consortium. All Rights Reserved.