Package se.litsec.opensaml.config.spring
Class OpenSAMLInitializerBean
- java.lang.Object
-
- se.litsec.opensaml.config.spring.OpenSAMLInitializerBean
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
public class OpenSAMLInitializerBean extends Object implements org.springframework.beans.factory.InitializingBean
Bean for initializing the OpenSAML 4.X library.- Author:
- Martin Lindström (martin.lindstrom@litsec.se)
- See Also:
OpenSAMLInitializer
-
-
Constructor Summary
Constructors Constructor Description OpenSAMLInitializerBean()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()Invokesinitialize()after all properties have been assigned.voidinitialize()Initializes the OpenSAML library.voidsetCustomConfiguration(List<OpenSAMLInitializerConfig> customConfiguration)Sets additional configuration that should be provided in theOpenSAMLInitializer.initialize(OpenSAMLInitializerConfig...)call.voidsetParserPool(ParserPool parserPool)Set the global ParserPool to configure.
-
-
-
Method Detail
-
initialize
public void initialize() throws ExceptionInitializes the OpenSAML library.- Throws:
Exception- for init errors
-
setParserPool
public void setParserPool(ParserPool parserPool)
Set the global ParserPool to configure.- Parameters:
parserPool- the parserPool to assign
-
setCustomConfiguration
public void setCustomConfiguration(List<OpenSAMLInitializerConfig> customConfiguration)
Sets additional configuration that should be provided in theOpenSAMLInitializer.initialize(OpenSAMLInitializerConfig...)call.- Parameters:
customConfiguration- additional configuration
-
afterPropertiesSet
public void afterPropertiesSet() throws ExceptionInvokesinitialize()after all properties have been assigned.- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
Exception
-
-