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
This is
OidcJsonWebKeystoreCoreProperties
.- Since:
- 6.2.0
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionTimeout that indicates how long should the JWKS file be kept in cache.The key identifier to set for the generated key in the keystore.int
The key size for the generated jwks.The type of the JWKS used to handle signing/encryption of authentication tokens.setJwksCacheExpiration
(String jwksCacheExpiration) Timeout that indicates how long should the JWKS file be kept in cache.setJwksKeyId
(String jwksKeyId) The key identifier to set for the generated key in the keystore.setJwksKeySize
(int jwksKeySize) The key size for the generated jwks.setJwksType
(String jwksType) The type of the JWKS used to handle signing/encryption of authentication tokens.
-
Constructor Details
-
OidcJsonWebKeystoreCoreProperties
public OidcJsonWebKeystoreCoreProperties()
-
-
Method Details
-
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 of256
,384
or521
. If usingEC
, then the size should match the number of bits required. -
getJwksType
The type of the JWKS used to handle signing/encryption of authentication tokens. Accepted values areRSA
orEC
. -
getJwksKeyId
The key identifier to set for the generated key in the keystore. -
setJwksCacheExpiration
Timeout that indicates how long should the JWKS file be kept in cache.- Returns:
this
.
-
setJwksKeySize
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 of256
,384
or521
. If usingEC
, then the size should match the number of bits required.- Returns:
this
.
-
setJwksType
The type of the JWKS used to handle signing/encryption of authentication tokens. Accepted values areRSA
orEC
.- Returns:
this
.
-
setJwksKeyId
The key identifier to set for the generated key in the keystore.- Returns:
this
.
-