org.mule.ra
Class RaHelper
java.lang.Object
org.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
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 |
RaHelper
public RaHelper()
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 PasswordCredentialb
- 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.