Interface RedirectionActionBuilder

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface RedirectionActionBuilder
    Return the redirection action to perform.
    Since:
    1.9.0
    Author:
    Jerome Leleu
    • Field Detail

      • ATTRIBUTE_FORCE_AUTHN

        static final java.lang.String ATTRIBUTE_FORCE_AUTHN
        Attribute name typically expected as an http request attribute that controls whether authentication should be forced. This will get translated to the appropriate protocol for each relevant builder.
        See Also:
        Constant Field Values
      • ATTRIBUTE_PASSIVE

        static final java.lang.String ATTRIBUTE_PASSIVE
        Attribute name typically expected as an http request attribute that controls whether authentication should be passive. This will get translated to the appropriate protocol for each relevant builder.
        See Also:
        Constant Field Values
    • Method Detail

      • getRedirectionAction

        java.util.Optional<RedirectionAction> getRedirectionAction​(WebContext context,
                                                                   SessionStore sessionStore)
        Return the appropriate "redirection" action.
        Parameters:
        context - the web context
        sessionStore - the session store
        Returns:
        the "redirection" action (optional)