@ConfigRoot(phase=RUN_TIME) public class OidcConfig extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
OidcConfig.Authentication
Defines the authorization request properties when authenticating
users using the Authorization Code Grant Type.
|
static class |
OidcConfig.Credentials |
static class |
OidcConfig.Roles |
static class |
OidcConfig.Token |
| Modifier and Type | Field and Description |
|---|---|
(package private) OidcConfig.Authentication |
authentication
Different options to configure authorization requests
|
(package private) 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) OidcConfig.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) OidcConfig.Roles |
roles
Configuration to find and parse a custom claim containing the roles information.
|
(package private) OidcConfig.Token |
token
Configuration how to validate the token claims.
|
| Constructor and Description |
|---|
OidcConfig() |
| Modifier and Type | Method and Description |
|---|---|
String |
getAuthServerUrl() |
Optional<String> |
getClientId() |
OidcConfig.Credentials |
getCredentials() |
OidcConfig.Roles |
getRoles() |
@ConfigItem String authServerUrl
@ConfigItem Optional<String> introspectionPath
@ConfigItem Optional<String> jwksPath
@ConfigItem Optional<String> publicKey
@ConfigItem Optional<String> clientId
@ConfigItem public Optional<Duration> connectionDelay
@ConfigItem OidcConfig.Roles roles
@ConfigItem OidcConfig.Token token
@ConfigItem OidcConfig.Credentials credentials
OidcConfig.Authentication authentication
public String getAuthServerUrl()
public OidcConfig.Credentials getCredentials()
public OidcConfig.Roles getRoles()
Copyright © 2020 JBoss by Red Hat. All rights reserved.