org.tranql.connector
Class CredentialExtractor

java.lang.Object
  extended by org.tranql.connector.CredentialExtractor

public class CredentialExtractor
extends Object

Version:
$Revision: 801 $ $Date: 2010-11-03 01:01:34 +0100 (Wed, 03 Nov 2010) $

Constructor Summary
CredentialExtractor(Subject subject, javax.resource.spi.ConnectionRequestInfo connectionRequestInfo, UserPasswordManagedConnectionFactory managedConnectionFactory)
           
 
Method Summary
 String getPassword()
           
 String getUserName()
           
 boolean matches(Subject subject, javax.resource.spi.ConnectionRequestInfo connectionRequestInfo, UserPasswordManagedConnectionFactory managedConnectionFactory)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CredentialExtractor

public CredentialExtractor(Subject subject,
                           javax.resource.spi.ConnectionRequestInfo connectionRequestInfo,
                           UserPasswordManagedConnectionFactory managedConnectionFactory)
                    throws javax.resource.spi.ResourceAdapterInternalException
Throws:
javax.resource.spi.ResourceAdapterInternalException
Method Detail

matches

public boolean matches(Subject subject,
                       javax.resource.spi.ConnectionRequestInfo connectionRequestInfo,
                       UserPasswordManagedConnectionFactory managedConnectionFactory)
                throws javax.resource.spi.ResourceAdapterInternalException
Throws:
javax.resource.spi.ResourceAdapterInternalException

getUserName

public String getUserName()

getPassword

public String getPassword()


Copyright © 2004-2012 Tranql project committers. All Rights Reserved.