org.mule.ra
Class RaHelper

java.lang.Object
  extended byorg.mule.ra.RaHelper

public class RaHelper
extends java.lang.Object

RaHelper is a collection of helper methods used by this RA implementation

Version:
$Revision: 1.5 $
Author:
Ross Mason

Constructor Summary
RaHelper()
           
 
Method Summary
static PasswordCredential getPasswordCredential(ManagedConnectionFactory mcf, javax.security.auth.Subject subject, ConnectionRequestInfo info)
           
static boolean isEqual(java.lang.String a, java.lang.String b)
           
static boolean isPasswordCredentialEqual(PasswordCredential a, PasswordCredential b)
          Determines whether two PasswordCredentials are the same.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RaHelper

public RaHelper()
Method Detail

getPasswordCredential

public static PasswordCredential getPasswordCredential(ManagedConnectionFactory mcf,
                                                       javax.security.auth.Subject subject,
                                                       ConnectionRequestInfo info)
                                                throws ResourceException
Throws:
ResourceException

isPasswordCredentialEqual

public static boolean isPasswordCredentialEqual(PasswordCredential a,
                                                PasswordCredential b)
Determines whether two PasswordCredentials are the same.

Parameters:
a - first PasswordCredential
b - second PasswordCredential
Returns:
true if the two parameters are equal; false otherwise

isEqual

public static boolean isEqual(java.lang.String a,
                              java.lang.String b)


Copyright © 2003-2005 SymphonySoft Limited. All Rights Reserved.