7 Replies Latest reply on Jun 18, 2013 9:49 AM by Steven Hawkins

    Determining if its a local connection

    Van Halbert Master

      I have a 3rd party application that is servring up Teiid connections.   Those connections are made available via JNDI (app server) or the application creating the connection directly. 

       

      The problem I'm having is the correct way to determine if the connection is a local connection or not, so that if its not a local connection, will need to call changeUser(..). 

       

      Would it be possible to add the helper method, isLocal():boolean to Teiid Connection?  Or is there an easier way?

       

       

      Thanks.