code: @Override
      public Subject getSubject(ManagedConnectionFactory managedConnectionFactory, String jaasEntryName, Map<String, Object> loginData) throws LoginException {
          if (jaasEntryName != null) {
              return createSubjectUsingJAAS(jaasEntryName, managedConnectionFactory, loginData);
          } else {
              return createSubjectUsingAuthData(managedConnectionFactory, loginData);
          }
      }
docs: {@inheritDoc}