Class NoOpSessionStore
- java.lang.Object
-
- org.apache.syncope.core.logic.oidc.NoOpSessionStore
-
- All Implemented Interfaces:
org.pac4j.core.context.session.SessionStore
public final class NoOpSessionStore extends Object implements org.pac4j.core.context.session.SessionStore
-
-
Field Summary
Fields Modifier and Type Field Description static NoOpSessionStore
INSTANCE
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Optional<org.pac4j.core.context.session.SessionStore>
buildFromTrackableSession(org.pac4j.core.context.WebContext webContext, Object o)
boolean
destroySession(org.pac4j.core.context.WebContext webContext)
Optional<Object>
get(org.pac4j.core.context.WebContext webContext, String s)
Optional<String>
getSessionId(org.pac4j.core.context.WebContext webContext, boolean b)
Optional<Object>
getTrackableSession(org.pac4j.core.context.WebContext webContext)
boolean
renewSession(org.pac4j.core.context.WebContext webContext)
void
set(org.pac4j.core.context.WebContext webContext, String s, Object o)
-
-
-
Field Detail
-
INSTANCE
public static final NoOpSessionStore INSTANCE
-
-
Method Detail
-
getSessionId
public Optional<String> getSessionId(org.pac4j.core.context.WebContext webContext, boolean b)
- Specified by:
getSessionId
in interfaceorg.pac4j.core.context.session.SessionStore
-
get
public Optional<Object> get(org.pac4j.core.context.WebContext webContext, String s)
- Specified by:
get
in interfaceorg.pac4j.core.context.session.SessionStore
-
set
public void set(org.pac4j.core.context.WebContext webContext, String s, Object o)
- Specified by:
set
in interfaceorg.pac4j.core.context.session.SessionStore
-
destroySession
public boolean destroySession(org.pac4j.core.context.WebContext webContext)
- Specified by:
destroySession
in interfaceorg.pac4j.core.context.session.SessionStore
-
getTrackableSession
public Optional<Object> getTrackableSession(org.pac4j.core.context.WebContext webContext)
- Specified by:
getTrackableSession
in interfaceorg.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 interfaceorg.pac4j.core.context.session.SessionStore
-
renewSession
public boolean renewSession(org.pac4j.core.context.WebContext webContext)
- Specified by:
renewSession
in interfaceorg.pac4j.core.context.session.SessionStore
-
-