public class FormAuthenticationConfigurationBuilder extends AuthenticationMethodConfigurationBuilder
Configures HTTP FORM Authentication for a specific path.
Modifier and Type | Method and Description |
---|---|
FormAuthenticationConfigurationBuilder |
errorPage(String errorPageUrl)
Specifies the login error page url.
|
FormAuthenticationConfigurationBuilder |
loginPage(String loginPageUrl)
Specifies the login page url.
|
FormAuthenticationConfigurationBuilder |
restoreOriginalRequest()
Indicates if the original request should be restored after a successful authentication.
|
authenticateWith, authorizeWith, getBuilder, redirectTo, unprotected
allPaths, forGroup, forPath, forPath, restrictive
build, create, 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 FormAuthenticationConfigurationBuilder restoreOriginalRequest()
Indicates if the original request should be restored after a successful authentication. The original request is usually the last one that originatly initiated the authentication process.
public FormAuthenticationConfigurationBuilder loginPage(String loginPageUrl)
Specifies the login page url. If the user is not authenticated the give url will be used to redirect the user to.
loginPageUrl
- public FormAuthenticationConfigurationBuilder errorPage(String errorPageUrl)
Specifies the login error page url. If the user is not authenticated after right after an authentication attepmt the give url will be used to redirect the user to.
errorPageUrl
- Copyright © 2018 JBoss by Red Hat. All rights reserved.