org.tranql.connector
Class CredentialExtractor

java.lang.Object
  extended byorg.tranql.connector.CredentialExtractor

public class CredentialExtractor
extends java.lang.Object

Version:
$Revision: 93 $ $Date: 2004-06-15 01:35:58 +0200 (Tue, 15 Jun 2004) $

Constructor Summary
CredentialExtractor(javax.security.auth.Subject subject, javax.resource.spi.ConnectionRequestInfo connectionRequestInfo, UserPasswordManagedConnectionFactory managedConnectionFactory)
           
 
Method Summary
 java.lang.String getPassword()
           
 java.lang.String getUserName()
           
 boolean matches(javax.security.auth.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(javax.security.auth.Subject subject,
                           javax.resource.spi.ConnectionRequestInfo connectionRequestInfo,
                           UserPasswordManagedConnectionFactory managedConnectionFactory)
                    throws javax.resource.spi.ResourceAdapterInternalException
Method Detail

matches

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

getUserName

public java.lang.String getUserName()

getPassword

public java.lang.String getPassword()


Copyright © -2007 The Codehaus. All Rights Reserved.