public class OpenSAMLInitializer extends Object
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()
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 false
public final void initialize() throws Exception
Exception
- 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 © 2018 Litsec AB. All rights reserved.