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 |
static class |
OidcTenantConfig.TokenStateManager
Default Authorization Code token state manager configuration
|
| 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> |
authorizationPath
Relative path of the OIDC authorization endpoint which authenticates the users.
|
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.
|
boolean |
discoveryEnabled
Enables OIDC discovery.
|
Optional<String> |
endSessionPath
Relative path of the OIDC end_session_endpoint.
|
Optional<String> |
introspectionPath
Relative path of the OIDC RFC7662 introspection endpoint which can introspect both opaque and JWT tokens.
|
Optional<String> |
jwksPath
Relative path of the OIDC JWKS endpoint which returns a JSON Web Key Verification 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.
|
Optional<String> |
tokenPath
Relative path of the OIDC token endpoint which issues ID, access and refresh tokens.
|
OidcTenantConfig.TokenStateManager |
tokenStateManager
Default token state manager configuration
|
Optional<String> |
userInfoPath
Relative path of the OIDC userinfo endpoint.
|
| 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<String> authServerUrl
@ConfigItem(defaultValue="true") public boolean discoveryEnabled
'web-app' applications may also have 'user-info-path' and 'end-session-path' properties configured.
@ConfigItem public Optional<String> authorizationPath
@ConfigItem public Optional<String> tokenPath
@ConfigItem public Optional<String> userInfoPath
@ConfigItem public Optional<String> introspectionPath
@ConfigItem public Optional<String> jwksPath
@ConfigItem public Optional<String> endSessionPath
@ConfigItem public Optional<Duration> connectionDelay
@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
@ConfigItem public OidcTenantConfig.TokenStateManager tokenStateManager
public void setConnectionDelay(Duration connectionDelay)
public void setAuthServerUrl(String authServerUrl)
public void setAuthorizationPath(String authorizationPath)
public void setTokenPath(String tokenPath)
public void setUserInfoPath(String userInfoPath)
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 boolean isTenantEnabled()
public void setTenantEnabled(boolean enabled)
public boolean isDiscoveryEnabled()
public void setDiscoveryEnabled(boolean enabled)
public OidcTenantConfig.Proxy getProxy()
public void setProxy(OidcTenantConfig.Proxy proxy)
public void setLogout(OidcTenantConfig.Logout logout)
public OidcTenantConfig.Logout getLogout()
public OidcTenantConfig.ApplicationType getApplicationType()
public void setApplicationType(OidcTenantConfig.ApplicationType type)
Copyright © 2020 JBoss by Red Hat. All rights reserved.