edu.internet2.middleware.shibboleth.common.relyingparty.provider.saml2
Class AbstractSAML2ProfileConfiguration

java.lang.Object
  extended by edu.internet2.middleware.shibboleth.common.relyingparty.provider.AbstractSAMLProfileConfiguration
      extended by edu.internet2.middleware.shibboleth.common.relyingparty.provider.saml2.AbstractSAML2ProfileConfiguration
All Implemented Interfaces:
ProfileConfiguration
Direct Known Subclasses:
ArtifactResolutionConfiguration, AttributeQueryConfiguration, LogoutRequestConfiguration, SSOConfiguration

public abstract class AbstractSAML2ProfileConfiguration
extends AbstractSAMLProfileConfiguration

SAML 2 communication profile configuration settings.


Constructor Summary
protected AbstractSAML2ProfileConfiguration()
          Constructor.
 
Method Summary
 SAML2AttributeAuthority getAttributeAuthority()
          Gets the Attribute authority to use.
 CryptoOperationRequirementLevel getEncryptAssertion()
          Gets whether assertions should be encrypted.
 CryptoOperationRequirementLevel getEncryptNameID()
          Gets whether NameIDs should be encrypted.
 Collection<String> getProxyAudiences()
          Gets the audiences for a proxied assertion.
 int getProxyCount()
          Gets the maximum number of times an assertion may be proxied.
 void setAttributeAuthority(SAML2AttributeAuthority authority)
          Sets the Attribute authority to use.
 void setEncryptAssertion(CryptoOperationRequirementLevel encrypt)
          Sets whether assertions should be encrypted.
 void setEncryptNameID(CryptoOperationRequirementLevel encrypt)
          Sets whether NameIDs should be encrypted.
 void setProxyCount(int count)
          Gets the maximum number of times an assertion may be proxied.
 
Methods inherited from class edu.internet2.middleware.shibboleth.common.relyingparty.provider.AbstractSAMLProfileConfiguration
getAssertionAudiences, getAssertionLifetime, getOutboundArtifactType, getSecurityPolicy, getSignAssertions, getSigningCredential, getSignRequests, getSignResponses, setAssertionAudiences, setAssertionLifetime, setOutboundArtifactType, setSecurityPolicy, setSignAssertions, setSigningCredential, setSignRequests, setSignResponses
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.internet2.middleware.shibboleth.common.relyingparty.ProfileConfiguration
getProfileId
 

Constructor Detail

AbstractSAML2ProfileConfiguration

protected AbstractSAML2ProfileConfiguration()
Constructor.

Method Detail

getAttributeAuthority

public SAML2AttributeAuthority getAttributeAuthority()
Gets the Attribute authority to use.

Returns:
Attribute authority to use

setAttributeAuthority

public void setAttributeAuthority(SAML2AttributeAuthority authority)
Sets the Attribute authority to use.

Parameters:
authority - Attribute authority to use

getEncryptNameID

public CryptoOperationRequirementLevel getEncryptNameID()
Gets whether NameIDs should be encrypted.

Returns:
whether NameIDs should be encrypted

setEncryptNameID

public void setEncryptNameID(CryptoOperationRequirementLevel encrypt)
Sets whether NameIDs should be encrypted.

Parameters:
encrypt - whether NameIDs should be encrypted

getEncryptAssertion

public CryptoOperationRequirementLevel getEncryptAssertion()
Gets whether assertions should be encrypted.

Returns:
whether assertions should be encrypted

setEncryptAssertion

public void setEncryptAssertion(CryptoOperationRequirementLevel encrypt)
Sets whether assertions should be encrypted.

Parameters:
encrypt - whether assertions should be encrypted

getProxyCount

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

Returns:
maximum number of times an assertion may be proxied

setProxyCount

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

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

getProxyAudiences

public Collection<String> getProxyAudiences()
Gets the audiences for a proxied assertion.

Returns:
audiences for a proxied assertion


Copyright © 2006-2011 Internet2. All Rights Reserved.