public class OidcTenantConfig extends OidcCommonConfig
| 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.Logout |
static class |
OidcTenantConfig.Roles |
static class |
OidcTenantConfig.Token |
static class |
OidcTenantConfig.TokenStateManager
Default Authorization Code token state manager configuration
|
OidcCommonConfig.Credentials, OidcCommonConfig.Proxy, OidcCommonConfig.Tls| 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> |
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
|
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.Token |
token
Configuration how to validate the token claims.
|
OidcTenantConfig.TokenStateManager |
tokenStateManager
Default token state manager configuration
|
Optional<String> |
userInfoPath
Relative path of the OIDC userinfo endpoint.
|
authServerUrl, clientId, connectionDelay, credentials, discoveryEnabled, proxy, tls, tokenPath| Constructor and Description |
|---|
OidcTenantConfig() |
getAuthServerUrl, getClientId, getConnectionDelay, getCredentials, getProxy, getTokenPath, isDiscoveryEnabled, setAuthServerUrl, setClientId, setConnectionDelay, setCredentials, setDiscoveryEnabled, setProxy, setTokenPath@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> authorizationPath
@ConfigItem public Optional<String> userInfoPath
@ConfigItem public Optional<String> introspectionPath
@ConfigItem public Optional<String> jwksPath
@ConfigItem public Optional<String> endSessionPath
@ConfigItem public Optional<String> publicKey
@ConfigItem public OidcTenantConfig.Roles roles
@ConfigItem public OidcTenantConfig.Token token
@ConfigItem public OidcTenantConfig.Logout logout
public OidcTenantConfig.Authentication authentication
@ConfigItem public OidcTenantConfig.TokenStateManager tokenStateManager
public void setAuthorizationPath(String authorizationPath)
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 OidcTenantConfig.Roles getRoles()
public void setRoles(OidcTenantConfig.Roles roles)
public OidcTenantConfig.Token getToken()
public void setToken(OidcTenantConfig.Token token)
public OidcTenantConfig.Authentication getAuthentication()
public void setAuthentication(OidcTenantConfig.Authentication authentication)
public void setTenantId(String tenantId)
public boolean isTenantEnabled()
public void setTenantEnabled(boolean enabled)
public void setLogout(OidcTenantConfig.Logout logout)
public OidcTenantConfig.Logout getLogout()
public OidcTenantConfig.ApplicationType getApplicationType()
public void setApplicationType(OidcTenantConfig.ApplicationType type)
Copyright © 2021 JBoss by Red Hat. All rights reserved.