OidcConfig.Builder |
OidcConfig.Builder.addTenantConfig(TenantConfig tenantConfig) |
|
static OidcConfig.Builder |
OidcConfig.builder() |
Create a builder to programmatically construct OIDC configuration.
|
OidcConfig.Builder |
OidcConfig.Builder.config(Config config) |
Update this builder with values from configuration.
|
OidcConfig.Builder |
OidcConfig.Builder.cookieDomain(String domain) |
Domain the cookie is valid for.
|
OidcConfig.Builder |
OidcConfig.Builder.cookieEncryptionEnabled(boolean cookieEncryptionEnabled) |
Whether to encrypt token cookie created by this microservice.
|
OidcConfig.Builder |
OidcConfig.Builder.cookieEncryptionEnabledIdToken(boolean cookieEncryptionEnabled) |
Whether to encrypt id token cookie created by this microservice.
|
OidcConfig.Builder |
OidcConfig.Builder.cookieEncryptionEnabledTenantName(boolean cookieEncryptionEnabled) |
Whether to encrypt tenant name cookie created by this microservice.
|
OidcConfig.Builder |
OidcConfig.Builder.cookieEncryptionName(String cookieEncryptionName) |
|
OidcConfig.Builder |
OidcConfig.Builder.cookieEncryptionPassword(char[] cookieEncryptionPassword) |
Master password for encryption/decryption of cookies.
|
OidcConfig.Builder |
OidcConfig.Builder.cookieHttpOnly(Boolean httpOnly) |
When using cookie, if set to true, the HttpOnly attribute will be configured.
|
OidcConfig.Builder |
OidcConfig.Builder.cookieMaxAgeSeconds(long age) |
When using cookie, used to set MaxAge attribute of the cookie, defining how long
the cookie is valid.
|
OidcConfig.Builder |
OidcConfig.Builder.cookieName(String cookieName) |
Name of the cookie to use.
|
OidcConfig.Builder |
OidcConfig.Builder.cookieNameIdToken(String cookieName) |
Name of the cookie to use for id token.
|
OidcConfig.Builder |
OidcConfig.Builder.cookiePath(String path) |
Path the cookie is valid for.
|
OidcConfig.Builder |
OidcConfig.Builder.cookieSameSite(SetCookie.SameSite sameSite) |
When using cookie, used to set the SameSite cookie value.
|
OidcConfig.Builder |
OidcConfig.Builder.cookieSameSite(String sameSite) |
When using cookie, used to set the SameSite cookie value.
|
OidcConfig.Builder |
OidcConfig.Builder.cookieSecure(Boolean secure) |
When using cookie, if set to true, the Secure attribute will be configured.
|
OidcConfig.Builder |
OidcConfig.Builder.cookieTenantName(String cookieName) |
Name of the cookie to use for tenant name.
|
OidcConfig.Builder |
OidcConfig.Builder.crossOriginConfig(CrossOriginConfig crossOriginConfig) |
Assign cross-origin resource sharing settings.
|
OidcConfig.Builder |
OidcConfig.Builder.forceHttpsRedirects(boolean forceHttpsRedirects) |
Force HTTPS for redirects to identity provider.
|
OidcConfig.Builder |
OidcConfig.Builder.frontendUri(String uri) |
Full URI of this application that is visible from user browser.
|
OidcConfig.Builder |
OidcConfig.Builder.headerTokenHandler(TokenHandler tokenHandler) |
|
OidcConfig.Builder |
OidcConfig.Builder.logoutEnabled(Boolean logoutEnabled) |
Whether to enable logout support.
|
OidcConfig.Builder |
OidcConfig.Builder.logoutUri(String logoutUri) |
Path to register web server for logout link.
|
OidcConfig.Builder |
OidcConfig.Builder.maxRedirects(int maxRedirects) |
Configure maximal number of redirects when redirecting to an OIDC provider within a single authentication
attempt.
|
OidcConfig.Builder |
OidcConfig.Builder.paramName(String paramName) |
Name of a query parameter that contains the JWT token when parameter is used.
|
OidcConfig.Builder |
OidcConfig.Builder.paramTenantName(String paramName) |
Name of a query parameter that contains the tenant name when parameter is used.
|
OidcConfig.Builder |
OidcConfig.Builder.postLogoutUri(URI uri) |
URI to redirect to once the logout process is done.
|
OidcConfig.Builder |
OidcConfig.Builder.proxyHost(String proxyHost) |
Proxy host to use.
|
OidcConfig.Builder |
OidcConfig.Builder.proxyPort(int proxyPort) |
Proxy port.
|
OidcConfig.Builder |
OidcConfig.Builder.proxyProtocol(String protocol) |
Proxy protocol to use when proxy is used.
|
OidcConfig.Builder |
OidcConfig.Builder.redirect(boolean redirect) |
By default, the client should redirect to the identity server for the user to log in.
|
OidcConfig.Builder |
OidcConfig.Builder.redirectAttemptParam(String paramName) |
Configure the parameter used to store the number of attempts in redirect.
|
OidcConfig.Builder |
OidcConfig.Builder.redirectUri(String redirectUri) |
URI to register web server component on, used by the OIDC server to
redirect authorization requests to after a user logs in or approves
scopes.
|
OidcConfig.Builder |
OidcConfig.Builder.relativeUris(boolean relativeUris) |
Can be set to true to force the use of relative URIs in all requests,
regardless of the presence or absence of proxies or no-proxy lists.
|
OidcConfig.Builder |
OidcConfig.Builder.tokenRefreshSkew(Duration tokenRefreshSkew) |
Amount of time access token should be refreshed before its expiration time.
|
OidcConfig.Builder |
OidcConfig.Builder.useCookie(Boolean useCookie) |
Whether to use cookie to store JWT between requests.
|
OidcConfig.Builder |
OidcConfig.Builder.useHeader(Boolean useHeader) |
Whether to expect JWT in a header field.
|
OidcConfig.Builder |
OidcConfig.Builder.useParam(Boolean useParam) |
Whether to use a query parameter to send JWT token from application to this
server.
|