code: public void remove(final boolean removeFromSession) {
          if (removeFromSession) {
              this.sessionStore.set(this.context, Pac4jConstants.USER_PROFILES, new LinkedHashMap<String, U>());
          }
          this.context.setRequestAttribute(Pac4jConstants.USER_PROFILES, new LinkedHashMap<String, U>());
      }
docs: Remove the current user profile(s).
  
  @param removeFromSession if the user profile(s) must be removed from session