docs: @Override
      public Enumeration<String> getAttributeNames() {
          if (isInvalid()) {
              throw new IllegalStateException("Session is invalid");
          }
          return Collections.enumeration(this.attributes.keySet());
      }