Package org.pac4j.core.redirect
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 java.lang.String
ATTRIBUTE_FORCE_AUTHN
Attribute name typically expected as an http request attribute that controls whether authentication should be forced.static java.lang.String
ATTRIBUTE_PASSIVE
Attribute name typically expected as an http request attribute that controls whether authentication should be passive.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.Optional<RedirectionAction>
getRedirectionAction(WebContext context, SessionStore sessionStore)
Return the appropriate "redirection" action.
-
-
-
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 contextsessionStore
- the session store- Returns:
- the "redirection" action (optional)
-
-