public class OutboundRedirectConfigurationBuilder extends AbstractPathConfigurationChildBuilder
Provides a set of options to configure how responses should be handled for a specific path.
| Modifier and Type | Method and Description |
|---|---|
protected OutboundRedirectConfiguration |
create()
Creates a new configuration.
|
OutboundRedirectConfigurationBuilder |
whenError()
Redirects to a given url if there was any error during the request processing.
|
OutboundRedirectConfigurationBuilder |
whenException(Class<? extends Throwable> exceptionType) |
OutboundRedirectConfigurationBuilder |
whenForbidden()
Redirects to a given url only if a request was forbidden.
|
authenticateWith, authorizeWith, cors, getBuilder, redirectTo, unprotectedallPaths, forGroup, forPath, forPath, restrictivebuild, http, identity, idmConfig, readFrom, validateclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitallPaths, forGroup, forPath, forPath, restrictivebuild, http, identity, idmConfigpublic OutboundRedirectConfigurationBuilder whenForbidden()
Redirects to a given url only if a request was forbidden. In other words, when a request is not authorized.
public OutboundRedirectConfigurationBuilder whenError()
Redirects to a given url if there was any error during the request processing.
public OutboundRedirectConfigurationBuilder whenException(Class<? extends Throwable> exceptionType)
protected OutboundRedirectConfiguration create()
BuilderCreates a new configuration.
create in class AbstractSecurityConfigurationBuilderCopyright © 2024. All rights reserved.