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

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

public class OpensamlConfigBean
extends Object
implements InitializingBean

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


Constructor Summary
OpensamlConfigBean(List<org.opensaml.util.resource.Resource> configs)
          Constructor.
 
Method Summary
 void afterPropertiesSet()
          
 org.opensaml.xml.parse.ParserPool getParserPool()
          Get the global ParserPool to configure.
 void setParserPool(org.opensaml.xml.parse.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
 

Constructor Detail

OpensamlConfigBean

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

Parameters:
configs - OpenSAML configuration resources
Method Detail

getParserPool

public org.opensaml.xml.parse.ParserPool getParserPool()
Get the global ParserPool to configure.

Returns:
Returns the parserPool.

setParserPool

public void setParserPool(org.opensaml.xml.parse.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 InitializingBean
Throws:
Exception


Copyright © 2006-2011 Internet2. All Rights Reserved.