edu.internet2.middleware.shibboleth.common.config.relyingparty.saml
Class AbstractSAML2ProfileConfigurationFactoryBean

java.lang.Object
  extended by org.springframework.beans.factory.config.AbstractFactoryBean
      extended by edu.internet2.middleware.shibboleth.common.config.relyingparty.saml.AbstractSAMLProfileConfigurationFactoryBean
          extended by edu.internet2.middleware.shibboleth.common.config.relyingparty.saml.AbstractSAML2ProfileConfigurationFactoryBean
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
Direct Known Subclasses:
SAML2ArtifactResolutionProfileConfigurationFactoryBean, SAML2AttributeQueryProfileConfigurationFactoryBean, SAML2LogoutRequestProfileConfigurationFactoryBean, SAML2SSOProfileConfigurationFactoryBean

public abstract class AbstractSAML2ProfileConfigurationFactoryBean
extends AbstractSAMLProfileConfigurationFactoryBean

Base Spring factory bean for SAML 2 profile configurations.


Field Summary
private  int assertionProxyCount
          Maximum number of times an assertion may be proxied.
private  SAML2AttributeAuthority attributeAuthority
          Attribute authority for the profile configuration.
private  CryptoOperationRequirementLevel encryptAssertions
          Whether to encryptAssertions.
private  CryptoOperationRequirementLevel encryptNameIds
          Whether to encrypt NameIDs.
private  List<String> proxyAudiences
          Audiences for proxied assertions.
 
Fields inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
logger
 
Constructor Summary
AbstractSAML2ProfileConfigurationFactoryBean()
           
 
Method Summary
 int getAssertionProxyCount()
          Gets the maximum number of times an assertion may be proxied.
 SAML2AttributeAuthority getAttributeAuthority()
          Gets the attribute authority for the profile configuration.
 List<String> getProxyAudiences()
          Gets the audiences for proxied assertions.
 CryptoOperationRequirementLevel isEncryptAssertions()
          Gets whether to encryption assertions.
 CryptoOperationRequirementLevel isEncryptNameIds()
          Gets whether to encrypt NameIDs.
protected  void populateBean(AbstractSAML2ProfileConfiguration configuration)
          Populates the given profile configuration with standard information.
 void setAssertionProxyCount(int count)
          Sets the maximum number of times an assertion may be proxied.
 void setAttributeAuthority(SAML2AttributeAuthority authority)
          Sets the attribute authority for the profile configuration.
 void setEncryptAssertions(CryptoOperationRequirementLevel encrypt)
          Sets whether to encryption assertions.
 void setEncryptNameIds(CryptoOperationRequirementLevel encrypt)
          Sets whether to encrypt NameIDs.
 void setProxyAudiences(List<String> audiences)
          Sets the audiences for proxied assertions.
 
Methods inherited from class edu.internet2.middleware.shibboleth.common.config.relyingparty.saml.AbstractSAMLProfileConfigurationFactoryBean
getAssertionLifetime, getAudiences, getOutboundArtifactType, getProfileSecurityPolicy, getSignAssertions, getSigningCredential, getSignRequests, getSignResposnes, populateBean, setAssertionLifetime, setAudiences, setOutboundArtifactType, setProfileSecurityPolicy, setSignAssertions, setSigningCredential, setSignRequests, setSignResponses
 
Methods inherited from class org.springframework.beans.factory.config.AbstractFactoryBean
afterPropertiesSet, createInstance, destroy, destroyInstance, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, getObjectType, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

attributeAuthority

private SAML2AttributeAuthority attributeAuthority
Attribute authority for the profile configuration.


encryptNameIds

private CryptoOperationRequirementLevel encryptNameIds
Whether to encrypt NameIDs.


encryptAssertions

private CryptoOperationRequirementLevel encryptAssertions
Whether to encryptAssertions.


assertionProxyCount

private int assertionProxyCount
Maximum number of times an assertion may be proxied.


proxyAudiences

private List<String> proxyAudiences
Audiences for proxied assertions.

Constructor Detail

AbstractSAML2ProfileConfigurationFactoryBean

public AbstractSAML2ProfileConfigurationFactoryBean()
Method Detail

getAttributeAuthority

public SAML2AttributeAuthority getAttributeAuthority()
Gets the attribute authority for the profile configuration.

Returns:
attribute authority for the profile configuration

setAttributeAuthority

public void setAttributeAuthority(SAML2AttributeAuthority authority)
Sets the attribute authority for the profile configuration.

Parameters:
authority - attribute authority for the profile configuration

getAssertionProxyCount

public int getAssertionProxyCount()
Gets the maximum number of times an assertion may be proxied.

Returns:
maximum number of times an assertion may be proxied

setAssertionProxyCount

public void setAssertionProxyCount(int count)
Sets the maximum number of times an assertion may be proxied.

Parameters:
count - maximum number of times an assertion may be proxied

isEncryptAssertions

public CryptoOperationRequirementLevel isEncryptAssertions()
Gets whether to encryption assertions.

Returns:
whether to encryption assertions

setEncryptAssertions

public void setEncryptAssertions(CryptoOperationRequirementLevel encrypt)
Sets whether to encryption assertions.

Parameters:
encrypt - whether to encryption assertions

isEncryptNameIds

public CryptoOperationRequirementLevel isEncryptNameIds()
Gets whether to encrypt NameIDs.

Returns:
whether to encrypt NameIDs

setEncryptNameIds

public void setEncryptNameIds(CryptoOperationRequirementLevel encrypt)
Sets whether to encrypt NameIDs.

Parameters:
encrypt - whether to encrypt NameIDs

getProxyAudiences

public List<String> getProxyAudiences()
Gets the audiences for proxied assertions.

Returns:
audiences for proxied assertions

setProxyAudiences

public void setProxyAudiences(List<String> audiences)
Sets the audiences for proxied assertions.

Parameters:
audiences - audiences for proxied assertions

populateBean

protected void populateBean(AbstractSAML2ProfileConfiguration configuration)
Populates the given profile configuration with standard information.

Parameters:
configuration - configuration to populate


Copyright © 1999-2012. All Rights Reserved.