public class OpenSAMLInitializer extends Object
| Modifier | Constructor and Description |
|---|---|
protected |
OpenSAMLInitializer() |
| Modifier and Type | Method and Description |
|---|---|
static ParserPool |
createDefaultParserPool()
Creates a basic parser pool with default settings.
|
static OpenSAMLInitializer |
getInstance()
Returns the initializer instance.
|
void |
initialize(OpenSAMLInitializerConfig... customConfigs)
Initializes the OpenSAML library.
|
boolean |
isInitialized()
Predicate that tells if the OpenSAML library already has been initialized.
|
void |
setParserPool(ParserPool parserPool)
Set the global ParserPool to configure.
|
public static OpenSAMLInitializer getInstance()
public boolean isInitialized()
true is returned, otherwise falsepublic final void initialize(OpenSAMLInitializerConfig... customConfigs) throws Exception
The OpenSAMLInitializerConfig.preInitialize() for all supplied customConfigs are called in order
before OpenSAML is initialized (InitializationService.initialize(). After OpenSAML has been initialized,
all OpenSAMLInitializerConfig.postInitialize() methods are invoked.
customConfigs - custom configuration of OpenSAMLException - thrown if there is a problem initializing the librarypublic void setParserPool(ParserPool parserPool)
parserPool - the parserPool to assignpublic static ParserPool createDefaultParserPool() throws ComponentInitializationException
ComponentInitializationException - for init errorsCopyright © 2020 Sweden Connect. All rights reserved.