public class OidcTenantConfig extends Object
| Modifier and Type | Class and Description |
|---|---|
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.Roles |
static class |
OidcTenantConfig.Token |
| Modifier and Type | Field and Description |
|---|---|
(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) 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.
|
(package private) OidcTenantConfig.Token |
token
Configuration how to validate the token claims.
|
| Constructor and Description |
|---|
OidcTenantConfig() |
| Modifier and Type | Method and Description |
|---|---|
OidcTenantConfig.Authentication |
getAuthentication() |
Optional<String> |
getAuthServerUrl() |
Optional<String> |
getClientId() |
Optional<Duration> |
getConnectionDelay() |
OidcTenantConfig.Credentials |
getCredentials() |
Optional<String> |
getIntrospectionPath() |
Optional<String> |
getJwksPath() |
Optional<String> |
getPublicKey() |
OidcTenantConfig.Roles |
getRoles() |
OidcTenantConfig.Token |
getToken() |
void |
setAuthentication(OidcTenantConfig.Authentication authentication) |
void |
setAuthServerUrl(String authServerUrl) |
void |
setClientId(String clientId) |
void |
setConnectionDelay(Duration connectionDelay) |
void |
setCredentials(OidcTenantConfig.Credentials credentials) |
void |
setIntrospectionPath(String introspectionPath) |
void |
setJwksPath(String jwksPath) |
void |
setPublicKey(String publicKey) |
void |
setRoles(OidcTenantConfig.Roles roles) |
void |
setToken(OidcTenantConfig.Token token) |
@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
OidcTenantConfig.Authentication authentication
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)
Copyright © 2020 JBoss by Red Hat. All rights reserved.