Class OidcJsonWebKeystoreCoreProperties

java.lang.Object
org.apereo.cas.configuration.model.support.oidc.jwks.OidcJsonWebKeystoreCoreProperties
All Implemented Interfaces:
Serializable

@RequiresModule(name="cas-server-support-oidc") public class OidcJsonWebKeystoreCoreProperties extends Object implements Serializable
Since:
6.2.0
See Also:
  • Constructor Details

    • OidcJsonWebKeystoreCoreProperties

      public OidcJsonWebKeystoreCoreProperties()
  • Method Details

    • getJwksCacheExpiration

      public String getJwksCacheExpiration()
      Timeout that indicates how long should the JWKS file be kept in cache.
    • getJwksKeySize

      public int getJwksKeySize()
      The key size for the generated jwks. This is an algorithm-specific metric, such as modulus length, specified in number of bits.

      If the keystore type is EC, the key size defined here should switch to one of 256, 384 or 521. If using EC, then the size should match the number of bits required.

    • getJwksType

      public String getJwksType()
      The type of the JWKS used to handle signing/encryption of authentication tokens. Accepted values are RSA or EC.
    • getJwksKeyId

      public String getJwksKeyId()
      The key identifier to set for the generated key in the keystore.
    • setJwksCacheExpiration

      public OidcJsonWebKeystoreCoreProperties setJwksCacheExpiration(String jwksCacheExpiration)
      Timeout that indicates how long should the JWKS file be kept in cache.
      Returns:
      this.
    • setJwksKeySize

      public OidcJsonWebKeystoreCoreProperties setJwksKeySize(int jwksKeySize)
      The key size for the generated jwks. This is an algorithm-specific metric, such as modulus length, specified in number of bits.

      If the keystore type is EC, the key size defined here should switch to one of 256, 384 or 521. If using EC, then the size should match the number of bits required.

      Returns:
      this.
    • setJwksType

      public OidcJsonWebKeystoreCoreProperties setJwksType(String jwksType)
      The type of the JWKS used to handle signing/encryption of authentication tokens. Accepted values are RSA or EC.
      Returns:
      this.
    • setJwksKeyId

      public OidcJsonWebKeystoreCoreProperties setJwksKeyId(String jwksKeyId)
      The key identifier to set for the generated key in the keystore.
      Returns:
      this.