docs: @SuppressWarnings( "rawtypes" )
      @Override
      public ManagedConnection matchManagedConnections( Set connectionSet,
                                                        Subject subject,
                                                        ConnectionRequestInfo cxRequestInfo ) throws ResourceException {
          for (Object connection : connectionSet) {
              if (connection instanceof JcrManagedConnection) {
                  JcrManagedConnection mc = (JcrManagedConnection)connection;
                  if (equals(mc.getManagedConnectionFactory())) {
                      JcrConnectionRequestInfo otherCri = mc.getConnectionRequestInfo();
                      if (cxRequestInfo == otherCri || (cxRequestInfo != null && cxRequestInfo.equals(otherCri))) {
                          return mc;
                      }
                  }
              }
          }
          return null;
      }