Class NoOpSessionStore

  • All Implemented Interfaces:
    org.pac4j.core.context.session.SessionStore

    public final class NoOpSessionStore
    extends Object
    implements org.pac4j.core.context.session.SessionStore
    • Method Detail

      • getSessionId

        public Optional<String> getSessionId​(org.pac4j.core.context.WebContext webContext,
                                             boolean b)
        Specified by:
        getSessionId in interface org.pac4j.core.context.session.SessionStore
      • get

        public Optional<Object> get​(org.pac4j.core.context.WebContext webContext,
                                    String s)
        Specified by:
        get in interface org.pac4j.core.context.session.SessionStore
      • set

        public void set​(org.pac4j.core.context.WebContext webContext,
                        String s,
                        Object o)
        Specified by:
        set in interface org.pac4j.core.context.session.SessionStore
      • destroySession

        public boolean destroySession​(org.pac4j.core.context.WebContext webContext)
        Specified by:
        destroySession in interface org.pac4j.core.context.session.SessionStore
      • getTrackableSession

        public Optional<Object> getTrackableSession​(org.pac4j.core.context.WebContext webContext)
        Specified by:
        getTrackableSession in interface org.pac4j.core.context.session.SessionStore
      • buildFromTrackableSession

        public Optional<org.pac4j.core.context.session.SessionStore> buildFromTrackableSession​(org.pac4j.core.context.WebContext webContext,
                                                                                               Object o)
        Specified by:
        buildFromTrackableSession in interface org.pac4j.core.context.session.SessionStore
      • renewSession

        public boolean renewSession​(org.pac4j.core.context.WebContext webContext)
        Specified by:
        renewSession in interface org.pac4j.core.context.session.SessionStore