public class JavaCryptoValidationInitializer extends Object implements Initializer
Validates that the set of security providers configured in the JVM supports required cryptographic capabilities, for example for the XML Encryption and XML Signature specifications.
Depending on the requirements of the calling code, failure to fully support encryption and signature requirements
may or may not be significant. A configuration property opensaml.config.xmlsec.cryptoValidationIsFatal
is supplied to allow the environment to determine whether an invalid result is fatal or not. The default
value of this flag is false
. If any case, a warning is logged.
Modifier and Type | Field and Description |
---|---|
static String |
CONFIG_PROPERTY_FAIL_IS_FATAL
Configuration property determining whether invalid result is fatal or not.
|
Constructor and Description |
---|
JavaCryptoValidationInitializer() |
Modifier and Type | Method and Description |
---|---|
void |
init()
Perform the initialization process encompassed by the implementation.
|
public static final String CONFIG_PROPERTY_FAIL_IS_FATAL
public void init() throws InitializationException
init
in interface Initializer
InitializationException
- if initialization could not be completed successfullyCopyright © 2016 JBoss by Red Hat. All rights reserved.