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 Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Attribute name typically expected as an http request attribute that controls whether authentication should be forced.
    static final String
    Attribute name typically expected as an http request attribute that controls whether authentication should be passive.
  • Method Summary

    Modifier and Type
    Method
    Description
    Return the appropriate "redirection" action.
  • Field Details

    • ATTRIBUTE_FORCE_AUTHN

      static final 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:
    • ATTRIBUTE_PASSIVE

      static final 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:
  • Method Details

    • getRedirectionAction

      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)