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 |
locationCookie
Option to control the name of the cookie used to redirect the user back
to where he want to get access 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, also
referred to as "renewal-timeout".
|
String |
passwordParameter
The password field name.
|
String |
postLocation
The post location.
|
boolean |
redirectAfterLogin
Option to disable redirect to landingPage if there is no saved page to redirect back to.
|
Duration |
timeout
The inactivity (idle) timeout
When inactivity timeout is reached, cookie is not renewed and a new login is enforced.
|
String |
usernameParameter
The username field name.
|
| Constructor and Description |
|---|
FormAuthConfig() |
@ConfigItem public boolean enabled
@ConfigItem(defaultValue="/login.html") public String loginPage
@ConfigItem(defaultValue="/j_security_check") public String postLocation
@ConfigItem(defaultValue="j_username") public String usernameParameter
@ConfigItem(defaultValue="j_password") public String passwordParameter
@ConfigItem(defaultValue="/error.html") public String errorPage
@ConfigItem(defaultValue="/index.html") public String landingPage
@ConfigItem(defaultValue="true") public boolean redirectAfterLogin
@ConfigItem(defaultValue="quarkus-redirect-location") public String locationCookie
@ConfigItem(defaultValue="PT30M") public Duration timeout
@ConfigItem(defaultValue="PT1M") public Duration newCookieInterval
@ConfigItem(defaultValue="quarkus-credential") public String cookieName
Copyright © 2021 JBoss by Red Hat. All rights reserved.