Class DistributedJ2ESessionStore

  • All Implemented Interfaces:
    java.util.EventListener, javax.servlet.http.HttpSessionListener, org.apereo.cas.logout.LogoutPostProcessor, org.pac4j.core.context.session.SessionStore<org.pac4j.core.context.JEEContext>, org.springframework.core.Ordered

    @Transactional(transactionManager="ticketTransactionManager")
    public class DistributedJ2ESessionStore
    extends org.pac4j.core.context.session.JEESessionStore
    implements javax.servlet.http.HttpSessionListener, org.apereo.cas.logout.LogoutPostProcessor
    Since:
    6.1.0
    • Field Summary

      • Fields inherited from class org.pac4j.core.context.session.JEESessionStore

        logger
      • Fields inherited from interface org.springframework.core.Ordered

        HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Optional get​(org.pac4j.core.context.JEEContext context, java.lang.String key)  
      void handle​(org.apereo.cas.ticket.TicketGrantingTicket ticketGrantingTicket)  
      void sessionDestroyed​(javax.servlet.http.HttpSessionEvent se)  
      void set​(org.pac4j.core.context.JEEContext context, java.lang.String key, java.lang.Object value)  
      • Methods inherited from class org.pac4j.core.context.session.JEESessionStore

        buildFromTrackableSession, destroySession, getHttpSession, getOrCreateSessionId, getTrackableSession, renewSession
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.servlet.http.HttpSessionListener

        sessionCreated
      • Methods inherited from interface org.apereo.cas.logout.LogoutPostProcessor

        getName, getOrder
    • Constructor Detail

      • DistributedJ2ESessionStore

        public DistributedJ2ESessionStore()
    • Method Detail

      • get

        public java.util.Optional get​(org.pac4j.core.context.JEEContext context,
                                      java.lang.String key)
        Specified by:
        get in interface org.pac4j.core.context.session.SessionStore<org.pac4j.core.context.JEEContext>
        Overrides:
        get in class org.pac4j.core.context.session.JEESessionStore
      • set

        public void set​(org.pac4j.core.context.JEEContext context,
                        java.lang.String key,
                        java.lang.Object value)
        Specified by:
        set in interface org.pac4j.core.context.session.SessionStore<org.pac4j.core.context.JEEContext>
        Overrides:
        set in class org.pac4j.core.context.session.JEESessionStore
      • sessionDestroyed

        public void sessionDestroyed​(javax.servlet.http.HttpSessionEvent se)
        Specified by:
        sessionDestroyed in interface javax.servlet.http.HttpSessionListener
      • handle

        public void handle​(org.apereo.cas.ticket.TicketGrantingTicket ticketGrantingTicket)
        Specified by:
        handle in interface org.apereo.cas.logout.LogoutPostProcessor