edu.internet2.middleware.shibboleth.common.config
Class OpensamlConfigBean

java.lang.Object
  extended by edu.internet2.middleware.shibboleth.common.config.OpensamlConfigBean
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean

public class OpensamlConfigBean
extends Object
implements org.springframework.beans.factory.InitializingBean

A simple bean that may be used with Spring to initialize the OpenSAML library.


Field Summary
private  List<org.opensaml.util.resource.Resource> configResources
          OpenSAML configuration resources.
private  org.slf4j.Logger log
          Class logger.
private  ParserPool parserPool
          Optional ParserPool to configure.
 
Constructor Summary
OpensamlConfigBean(List<org.opensaml.util.resource.Resource> configs)
          Constructor.
 
Method Summary
 void afterPropertiesSet()
          
 ParserPool getParserPool()
          Get the global ParserPool to configure.
 void setParserPool(ParserPool newParserPool)
          Set the global ParserPool to configure.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

private final org.slf4j.Logger log
Class logger.


configResources

private List<org.opensaml.util.resource.Resource> configResources
OpenSAML configuration resources.


parserPool

private ParserPool parserPool
Optional ParserPool to configure.

Constructor Detail

OpensamlConfigBean

public OpensamlConfigBean(List<org.opensaml.util.resource.Resource> configs)
Constructor.

Parameters:
configs - OpenSAML configuration resources
Method Detail

getParserPool

public ParserPool getParserPool()
Get the global ParserPool to configure.

Returns:
Returns the parserPool.

setParserPool

public void setParserPool(ParserPool newParserPool)
Set the global ParserPool to configure.

Parameters:
newParserPool - The parserPool to set.

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception

Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception


Copyright © 1999-2012. All Rights Reserved.