edu.internet2.middleware.shibboleth.common.config.security
Class StaticPKIXSignatureTrustEngineFactoryBean

java.lang.Object
  extended by org.springframework.beans.factory.config.AbstractFactoryBean
      extended by edu.internet2.middleware.shibboleth.common.config.security.StaticPKIXSignatureTrustEngineFactoryBean
All Implemented Interfaces:
org.springframework.beans.factory.BeanClassLoaderAware, org.springframework.beans.factory.BeanFactoryAware, org.springframework.beans.factory.DisposableBean, org.springframework.beans.factory.FactoryBean, org.springframework.beans.factory.InitializingBean

public class StaticPKIXSignatureTrustEngineFactoryBean
extends org.springframework.beans.factory.config.AbstractFactoryBean

Spring factory bean used to create PKIXSignatureTrustEngines based on a static PKIXValidationInformation resolver.


Field Summary
 
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
 
Constructor Summary
StaticPKIXSignatureTrustEngineFactoryBean()
           
 
Method Summary
protected  Object createInstance()
          
 Class getObjectType()
          
 List<org.opensaml.xml.security.x509.PKIXValidationInformation> getPKIXInfo()
          Gets the list of PKIX validation info.
 org.opensaml.xml.security.x509.PKIXValidationOptions getPKIXValidationOptions()
          Get the PKIX validation options.
 Set<String> getTrustedNames()
          Gets the set of trusted names.
 void setPKIXInfo(List<org.opensaml.xml.security.x509.PKIXValidationInformation> newPKIXInfo)
          Sets the list of PKIX validation info.
 void setPKIXValidationOptions(org.opensaml.xml.security.x509.PKIXValidationOptions newOptions)
          Set the PKIX validation options.
 void setTrustedNames(Set<String> newTrustedNames)
          Sets the set of trusted names.
 
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StaticPKIXSignatureTrustEngineFactoryBean

public StaticPKIXSignatureTrustEngineFactoryBean()
Method Detail

getPKIXValidationOptions

public org.opensaml.xml.security.x509.PKIXValidationOptions getPKIXValidationOptions()
Get the PKIX validation options.

Returns:
the set of validation options

setPKIXValidationOptions

public void setPKIXValidationOptions(org.opensaml.xml.security.x509.PKIXValidationOptions newOptions)
Set the PKIX validation options.

Parameters:
newOptions - the new set of validation options

getPKIXInfo

public List<org.opensaml.xml.security.x509.PKIXValidationInformation> getPKIXInfo()
Gets the list of PKIX validation info.

Returns:
the list of PKIX validation info

setPKIXInfo

public void setPKIXInfo(List<org.opensaml.xml.security.x509.PKIXValidationInformation> newPKIXInfo)
Sets the list of PKIX validation info.

Parameters:
newPKIXInfo - the new list of PKIX validation info

getTrustedNames

public Set<String> getTrustedNames()
Gets the set of trusted names.

Returns:
the set of trusted names

setTrustedNames

public void setTrustedNames(Set<String> newTrustedNames)
Sets the set of trusted names.

Parameters:
newTrustedNames - the set of trusted names

getObjectType

public Class getObjectType()

Specified by:
getObjectType in interface org.springframework.beans.factory.FactoryBean
Specified by:
getObjectType in class org.springframework.beans.factory.config.AbstractFactoryBean

createInstance

protected Object createInstance()
                         throws Exception

Specified by:
createInstance in class org.springframework.beans.factory.config.AbstractFactoryBean
Throws:
Exception


Copyright © 2006-2011 Internet2. All Rights Reserved.