Class JSONSecurityConfiguration
java.lang.Object
org.opensaml.security.config.BasicSecurityConfiguration
net.shibboleth.oidc.profile.config.JSONSecurityConfiguration
- All Implemented Interfaces:
Component,IdentifiableComponent,IdentifiedComponent,SecurityConfiguration
Class extends SecurityConfiguration to support separate configuration for various encryption and signature
validation operations.
- Since:
- 2.2.0
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate DecryptionConfigurationConfiguration used when decrypting JWE tokens.private EncryptionConfigurationConfiguration used when encrypting JWE tokens.private SignatureSigningConfigurationConfiguration used when JWS tokens.private SignatureValidationConfigurationConfiguration used when validating JWS signatures. -
Constructor Summary
ConstructorsConstructorDescriptionConstructor.JSONSecurityConfiguration(Duration skew, IdentifierGenerationStrategy generator) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the configuration used when decrypting JWE tokens.Get the configuration used when encrypting JWE tokens.Get the configuration used when signing JWS tokens.Get the configuration used when validating JWS tokens.voidSet the configuration used to decrypt JWE tokens.voidSet the configuration used to encrypt JWE tokens.voidSet the configuration used when signing JWS tokens.voidSet the configuration used when validating JWS tokens.Methods inherited from class org.opensaml.security.config.BasicSecurityConfiguration
getClientTLSValidationConfiguration, getClockSkew, getHttpClientSecurityConfiguration, getId, getIdGenerator, setClientTLSValidationConfiguration, setHttpClientSecurityConfiguration, setId
-
Field Details
-
jwtDecryptConfig
Configuration used when decrypting JWE tokens. -
jwtEncryptConfig
Configuration used when encrypting JWE tokens. -
jwtSignatureSigningConfig
Configuration used when JWS tokens. -
jwtSignatureValidationConfig
Configuration used when validating JWS signatures.
-
-
Constructor Details
-
JSONSecurityConfiguration
public JSONSecurityConfiguration()Constructor.- Since:
- 3.1.0
-
-
Method Details
-
setJwtDecryptionConfiguration
Set the configuration used to decrypt JWE tokens.- Parameters:
config- configuration used when decrypting JWE tokens, or null
-
getJwtDecryptionConfiguration
Get the configuration used when decrypting JWE tokens.- Returns:
- configuration used when decrypting id_tokens, or null
-
setJwtEncryptionConfiguration
Set the configuration used to encrypt JWE tokens.- Parameters:
config- configuration used when encrypting JWE tokens, or null
-
getJwtEncryptionConfiguration
Get the configuration used when encrypting JWE tokens.- Returns:
- configuration used when encrypting JWE tokens, or null
-
setJwtSignatureSigningConfiguration
Set the configuration used when signing JWS tokens.- Parameters:
config- used when signing JWS tokens, or null
-
getJwtSignatureSigningConfiguration
Get the configuration used when signing JWS tokens.- Returns:
- configuration used when signing JWS tokens, or null
-
setJwtSignatureValidationConfiguration
public void setJwtSignatureValidationConfiguration(@Nullable SignatureValidationConfiguration config) Set the configuration used when validating JWS tokens.- Parameters:
config- used when validating JWS tokens, or null
-
getJwtSignatureValidationConfiguration
Get the configuration used when validating JWS tokens.- Returns:
- configuration used when validating JWS tokens, or null
-