public static class OidcTenantConfig.Authentication extends Object
| Modifier and Type | Field and Description |
|---|---|
Optional<String> |
cookiePath
Cookie path parameter value which, if set, will be used for the session and state cookies.
|
Map<String,String> |
extraParams
Additional properties which will be added as the query parameters to the authentication redirect URI.
|
boolean |
forceRedirectHttpsScheme
Force 'https' as the 'redirect_uri' parameter scheme when running behind an SSL terminating reverse proxy.
|
Optional<String> |
redirectPath
Relative path for calculating a "redirect_uri" query parameter.
|
boolean |
removeRedirectParameters
Remove the query parameters such as 'code' and 'state' set by the OIDC server on the redirect URI
after the user has authenticated by redirecting a user to the same URI but without the query parameters.
|
boolean |
restorePathAfterRedirect
If this property is set to 'true' then the original request URI which was used before
the authentication will be restored after the user has been redirected back to the application.
|
Optional<List<String>> |
scopes
List of scopes
|
| Constructor and Description |
|---|
Authentication() |
| Modifier and Type | Method and Description |
|---|---|
Optional<String> |
getCookiePath() |
Map<String,String> |
getExtraParams() |
Optional<String> |
getRedirectPath() |
Optional<List<String>> |
getScopes() |
boolean |
isForceRedirectHttpsScheme() |
boolean |
isRestorePathAfterRedirect() |
void |
setCookiePath(String cookiePath) |
void |
setExtraParams(Map<String,String> extraParams) |
void |
setForceRedirectHttpsScheme(boolean forceRedirectHttpsScheme) |
void |
setRedirectPath(String redirectPath) |
void |
setRestorePathAfterRedirect(boolean restorePathAfterRedirect) |
void |
setScopes(Optional<List<String>> scopes) |
@ConfigItem public Optional<String> redirectPath
@ConfigItem(defaultValue="true") public boolean restorePathAfterRedirect
@ConfigItem(defaultValue="true") public boolean removeRedirectParameters
@ConfigItem(defaultValue="false") public boolean forceRedirectHttpsScheme
@ConfigItem public Optional<List<String>> scopes
@ConfigItem public Map<String,String> extraParams
@ConfigItem public Optional<String> cookiePath
public void setRedirectPath(String redirectPath)
public boolean isForceRedirectHttpsScheme()
public void setForceRedirectHttpsScheme(boolean forceRedirectHttpsScheme)
public boolean isRestorePathAfterRedirect()
public void setRestorePathAfterRedirect(boolean restorePathAfterRedirect)
public void setCookiePath(String cookiePath)
Copyright © 2020 JBoss by Red Hat. All rights reserved.