Class ProxyRestrictionImpl

java.lang.Object
org.opensaml.core.xml.AbstractXMLObject
org.opensaml.saml.saml2.core.impl.ProxyRestrictionImpl
All Implemented Interfaces:
XMLObject, SAMLObject, Condition, ProxyRestriction

public class ProxyRestrictionImpl extends AbstractXMLObject implements ProxyRestriction
Concrete implementation of ProxyRestriction.
  • Field Details

    • audiences

      @Nonnull private final XMLObjectChildrenList<Audience> audiences
      Audiences of the Restriction.
    • proxyCount

      @Nullable private Integer proxyCount
      Count of the Restriction.
  • Constructor Details

    • ProxyRestrictionImpl

      protected ProxyRestrictionImpl(@Nullable @NotEmpty String namespaceURI, @Nonnull @NotEmpty String elementLocalName, @Nullable @NotEmpty String namespacePrefix)
      Constructor.
      Parameters:
      namespaceURI - the namespace the element is in
      elementLocalName - the local name of the XML element this Object represents
      namespacePrefix - the prefix for the given namespace
  • Method Details

    • getAudiences

      @Nullable public List<Audience> getAudiences()
      Gets the list of audiences to whom the assertion may be proxied.
      Specified by:
      getAudiences in interface ProxyRestriction
      Returns:
      the list of audiences to whom the assertion may be proxied
    • getProxyCount

      @Nullable public Integer getProxyCount()
      Gets the number of times the assertion may be proxied.
      Specified by:
      getProxyCount in interface ProxyRestriction
      Returns:
      the number of times the assertion may be proxied
    • setProxyCount

      public void setProxyCount(@Nullable Integer newProxyCount)
      Sets the number of times the assertion may be proxied.
      Specified by:
      setProxyCount in interface ProxyRestriction
      Parameters:
      newProxyCount - the number of times the assertion may be proxied
    • getOrderedChildren

      public List<XMLObject> getOrderedChildren()
      Gets an unmodifiable list of child elements in the order that they will appear in the DOM.
      Specified by:
      getOrderedChildren in interface XMLObject
      Returns:
      ordered list of child elements