public class FormAuthConfig extends Object
| Modifier and Type | Field and Description |
|---|---|
String |
cookieName
The cookie that is used to store the persistent session
|
boolean |
enabled
If form authentication is enabled
|
String |
errorPage
The error page
|
String |
landingPage
The landing page to redirect to if there is no saved page to redirect back to
|
String |
loginPage
The login page
|
Duration |
newCookieInterval
How old a cookie can get before it will be replaced with a new cookie with an updated timeout.
|
boolean |
redirectAfterLogin
Option to disable redirect to landingPage if there is no saved page to redirect back to.
|
Duration |
timeout
The inactivity timeout
|
| Constructor and Description |
|---|
FormAuthConfig() |
@ConfigItem public boolean enabled
@ConfigItem(defaultValue="/login.html") public String loginPage
@ConfigItem(defaultValue="/error.html") public String errorPage
@ConfigItem(defaultValue="/index.html") public String landingPage
@ConfigItem(defaultValue="true") public boolean redirectAfterLogin
@ConfigItem(defaultValue="PT30M") public Duration timeout
@ConfigItem(defaultValue="PT1M") public Duration newCookieInterval
@ConfigItem(defaultValue="quarkus-credential") public String cookieName
Copyright © 2019 JBoss by Red Hat. All rights reserved.