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.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. |
(package private) OidcTenantConfig.Authentication |
authentication
Different options to configure authorization requests
|
(package private) Optional<String> |
authServerUrl
The base URL of the OpenID Connect (OIDC) server, for example, 'https://host:port/auth'.
|
(package private) 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.
|
(package private) OidcTenantConfig.Credentials |
credentials
Credentials which the OIDC adapter will use to authenticate to the OIDC server.
|
(package private) Optional<String> |
introspectionPath
Relative path of the RFC7662 introspection service.
|
(package private) Optional<String> |
jwksPath
Relative path of the OIDC service returning a JWK set.
|
(package private) OidcTenantConfig.Proxy |
proxy
Options to configure a proxy that OIDC adapter will use for talking with OIDC server.
|
(package private) Optional<String> |
publicKey
Public key for the local JWT token verification.
|
(package private) OidcTenantConfig.Roles |
roles
Configuration to find and parse a custom claim containing the roles information.
|
boolean |
tenantEnabled
If this tenant configuration is enabled.
|
(package private) Optional<String> |
tenantId
A unique tenant identifier.
|
(package private) OidcTenantConfig.Tls |
tls
TLS configurations
|
(package private) OidcTenantConfig.Token |
token
Configuration how to validate the token claims.
|
| Constructor and Description |
|---|
OidcTenantConfig() |
@ConfigItem 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 Optional<String> authServerUrl
@ConfigItem Optional<String> introspectionPath
@ConfigItem Optional<String> jwksPath
@ConfigItem Optional<String> publicKey
@ConfigItem Optional<String> clientId
@ConfigItem OidcTenantConfig.Roles roles
@ConfigItem OidcTenantConfig.Token token
@ConfigItem OidcTenantConfig.Credentials credentials
@ConfigItem OidcTenantConfig.Proxy proxy
OidcTenantConfig.Authentication authentication
@ConfigItem OidcTenantConfig.Tls tls
public void setConnectionDelay(Duration connectionDelay)
public void setAuthServerUrl(String authServerUrl)
public void setIntrospectionPath(String introspectionPath)
public void setJwksPath(String jwksPath)
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)
Copyright © 2020 JBoss by Red Hat. All rights reserved.