public class OidcTenantConfig extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OidcTenantConfig.ApplicationType |
static class |
OidcTenantConfig.Authentication
Defines the authorization request properties when authenticating
users using the Authorization Code Grant Type.
|
static class |
OidcTenantConfig.Credentials |
static class |
OidcTenantConfig.Logout |
static class |
OidcTenantConfig.Proxy |
static class |
OidcTenantConfig.Roles |
static class |
OidcTenantConfig.Tls |
static class |
OidcTenantConfig.Token |
| Modifier and Type | Field and Description |
|---|---|
OidcTenantConfig.ApplicationType |
applicationType
The application type, which can be one of the following values from enum
OidcTenantConfig.ApplicationType. |
OidcTenantConfig.Authentication |
authentication
Different options to configure authorization requests
|
Optional<String> |
authServerUrl
The base URL of the OpenID Connect (OIDC) server, for example, 'https://host:port/auth'.
|
Optional<String> |
clientId
The client-id of the application.
|
Optional<Duration> |
connectionDelay
The maximum amount of time the adapter will try connecting to the currently unavailable OIDC server for.
|
OidcTenantConfig.Credentials |
credentials
Credentials which the OIDC adapter will use to authenticate to the OIDC server.
|
Optional<String> |
endSessionPath
Relative path of the OIDC end_session_endpoint.
|
Optional<String> |
introspectionPath
Relative path of the RFC7662 introspection service.
|
Optional<String> |
jwksPath
Relative path of the OIDC service returning a JWK set.
|
OidcTenantConfig.Logout |
logout
Logout configuration
|
OidcTenantConfig.Proxy |
proxy
Options to configure a proxy that OIDC adapter will use for talking with OIDC server.
|
Optional<String> |
publicKey
Public key for the local JWT token verification.
|
OidcTenantConfig.Roles |
roles
Configuration to find and parse a custom claim containing the roles information.
|
boolean |
tenantEnabled
If this tenant configuration is enabled.
|
Optional<String> |
tenantId
A unique tenant identifier.
|
OidcTenantConfig.Tls |
tls
TLS configurations
|
OidcTenantConfig.Token |
token
Configuration how to validate the token claims.
|
| Constructor and Description |
|---|
OidcTenantConfig() |
@ConfigItem public Optional<String> tenantId
TenantConfigResolver providers which
resolve the tenant configuration dynamically and is optional in all other cases.@ConfigItem(defaultValue="true") public boolean tenantEnabled
@ConfigItem(defaultValue="service") public OidcTenantConfig.ApplicationType applicationType
OidcTenantConfig.ApplicationType.@ConfigItem public Optional<Duration> connectionDelay
@ConfigItem public Optional<String> authServerUrl
@ConfigItem public Optional<String> introspectionPath
@ConfigItem public Optional<String> jwksPath
@ConfigItem public Optional<String> endSessionPath
@ConfigItem public Optional<String> publicKey
@ConfigItem public Optional<String> clientId
@ConfigItem public OidcTenantConfig.Roles roles
@ConfigItem public OidcTenantConfig.Token token
@ConfigItem public OidcTenantConfig.Credentials credentials
@ConfigItem public OidcTenantConfig.Proxy proxy
public OidcTenantConfig.Authentication authentication
@ConfigItem public OidcTenantConfig.Tls tls
@ConfigItem public OidcTenantConfig.Logout logout
public void setConnectionDelay(Duration connectionDelay)
public void setAuthServerUrl(String authServerUrl)
public void setIntrospectionPath(String introspectionPath)
public void setJwksPath(String jwksPath)
public void setEndSessionPath(String endSessionPath)
public void setPublicKey(String publicKey)
public void setClientId(String clientId)
public OidcTenantConfig.Roles getRoles()
public void setRoles(OidcTenantConfig.Roles roles)
public OidcTenantConfig.Token getToken()
public void setToken(OidcTenantConfig.Token token)
public OidcTenantConfig.Credentials getCredentials()
public void setCredentials(OidcTenantConfig.Credentials credentials)
public OidcTenantConfig.Authentication getAuthentication()
public void setAuthentication(OidcTenantConfig.Authentication authentication)
public void setTenantId(String tenantId)
public OidcTenantConfig.Proxy getProxy()
public void setProxy(OidcTenantConfig.Proxy proxy)
public void setLogout(OidcTenantConfig.Logout logout)
public OidcTenantConfig.Logout getLogout()
Copyright © 2020 JBoss by Red Hat. All rights reserved.