Class SessionStoreValueRetriever

  • All Implemented Interfaces:
    ValueRetriever

    public class SessionStoreValueRetriever
    extends java.lang.Object
    implements ValueRetriever
    The default implementation of ValueRetriever that reads the values from the SessionStore in the WebContext.
    Since:
    4.0.3
    Author:
    Emond Papegaaij
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional<java.lang.Object> retrieve​(java.lang.String key, OidcClient client, org.pac4j.core.context.WebContext webContext, org.pac4j.core.context.session.SessionStore sessionStore)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SessionStoreValueRetriever

        public SessionStoreValueRetriever()
    • Method Detail

      • retrieve

        public java.util.Optional<java.lang.Object> retrieve​(java.lang.String key,
                                                             OidcClient client,
                                                             org.pac4j.core.context.WebContext webContext,
                                                             org.pac4j.core.context.session.SessionStore sessionStore)
        Specified by:
        retrieve in interface ValueRetriever