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() |
OutboundRedirectConfigurationBuilder |
whenError()
Redirects to a given url if there was any error during the request processing.
|
OutboundRedirectConfigurationBuilder |
whenForbidden()
Redirects to a given url only if a request was forbidden.
|
authenticateWith, authorizeWith, getBuilder, redirectTo, unprotected
allPaths, forGroup, forPath, forPath, restrictive
build, http, identity, idmConfig, readFrom, validate
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
allPaths, forGroup, forPath, forPath, restrictive
build, http, identity, idmConfig
public 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.
protected OutboundRedirectConfiguration create()
create
in class AbstractSecurityConfigurationBuilder
Copyright © 2017 JBoss by Red Hat. All rights reserved.