org.teiid.resource.spi
Class ConnectionContext

java.lang.Object
  extended by org.teiid.resource.spi.ConnectionContext

public class ConnectionContext
extends java.lang.Object

Thread local class to access the Subject in the Connector code. This is set just before the connector connection is created.


Constructor Summary
ConnectionContext()
           
 
Method Summary
static javax.security.auth.Subject getSubject()
           
static void setSubject(javax.security.auth.Subject subject)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectionContext

public ConnectionContext()
Method Detail

getSubject

public static javax.security.auth.Subject getSubject()

setSubject

public static void setSubject(javax.security.auth.Subject subject)


Copyright © 2010. All Rights Reserved.