Class WebAuthRequestCollection

  • All Implemented Interfaces:
    java.util.EventListener, javax.servlet.http.HttpSessionBindingListener

    public class WebAuthRequestCollection
    extends AbstractLifecycle
    implements javax.servlet.http.HttpSessionBindingListener

    A collection of web auth requests represented as relay state -> WebAuthRequestCollection.WebAuthCallback pairs.

    Each HttpSession may have at most one collection.

    The internal collection supports high-concurrency and is thread-safe.

    When a collection is bound to an HttpSession, it is started up, which schedules the first reaper.

    A reaper is scheduled every 2 minutes to clear out any expired web auth requests.

    When a collection is unbound from an HttpSession, it is shut down, which clears the internal collection .