Exemplo n.º 1
0
  /**
   * Is this an instance of the default <code>Manager</code> configuration, with all-default
   * properties?
   *
   * @param smanager Manager to be tested
   */
  protected boolean isDefaultManager(StandardManager smanager) {

    if (!"SESSIONS.ser".equals(smanager.getPathname()) || (smanager.getMaxActiveSessions() != -1)) {
      return (false);
    }
    return (true);
  }