Class OidcConfig

java.lang.Object
org.imixs.security.oidc.OidcConfig
All Implemented Interfaces:
Serializable

@ApplicationScoped @Named public class OidcConfig extends Object implements Serializable
The OidcConfig is a CDI config bean used to provide the config values for the Securitybean.
Author:
rsoika
See Also:
  • Constructor Details

    • OidcConfig

      public OidcConfig()
  • Method Details

    • init

      @PostConstruct public void init()
    • getClientId

      public String getClientId()
    • getClientSecret

      public String getClientSecret()
    • getProviderURI

      public String getProviderURI()
    • getRedirectURI

      public String getRedirectURI()
    • getClaimCallerName

      public String getClaimCallerName()
    • getClaimRolePath

      public String getClaimRolePath()
    • getScope

      public String getScope()
      Returns the scopes separated by spaces. If the scope variabel contains ',' these characters will be removed automatically
      Returns:
    • getAuthorizationEndpoint

      public String getAuthorizationEndpoint()
    • getTokenEndpoint

      public String getTokenEndpoint()
    • getJwksUri

      public String getJwksUri()
    • getUserinfoEndpoint

      public String getUserinfoEndpoint()
    • getIssuer

      public String getIssuer()
    • getRawConfig

      public jakarta.json.JsonObject getRawConfig()
    • getProviderUri

      public String getProviderUri()
    • isUserInfoEnabled

      public boolean isUserInfoEnabled()
    • getJwks

      public Map<String,com.nimbusds.jose.jwk.RSAKey> getJwks() throws Exception
      Returns cached JWKS, refreshing from remote if stale or missing.
      Throws:
      Exception