code: @Override
      public void afterGettingConnection(Subject subject,
                                         ConnectionRequestInfo reqInfo,
                                         Object credentialToken) throws ResourceException {
  
          final boolean isTracingEnabled = TraceComponent.isAnyTracingEnabled();
  
          if (isTracingEnabled && tc.isEntryEnabled()) {
              Tr.entry(this, tc, "afterGettingConnection");
          }
  
          // Since the beforeGettingConnection never pushes the Subject
          // to the thread, ignore the input credToken Object and
          // simply return without doing anything.
  
          if (isTracingEnabled && tc.isEntryEnabled()) {
              Tr.exit(this, tc, "afterGettingConnection");
          }
  
      }
docs: The afterGettingConnection() method is used to allow
  special security processing to be performed after calling
  a resource adapter to get a connection.
  
  @param Subject subject
  @param ConnectionRequestInfo reqInfo
  @param Object credentialToken
  @return void
  @exception ResourceException