Interface ProxyRestriction

All Superinterfaces:
ConditionAbstract, XmlSerializable

@SupportedAll public interface ProxyRestriction extends ConditionAbstract
The ProxyRestriction specifies limitations that the asserting party imposes on relying parties that in turn wish to act as asserting parties and issue subsequent assertions of their own on the basis of the information contained in the original assertion. A relying party acting as an asserting party must not issue an assertion that itself violates the restrictions specified in this condition on the basis of an assertion containing such a condition.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the list of audiences to whom the asserting party permits new assertions to be issued on the basis of this assertion.
    int
    Returns the maximum number of indirections that the asserting party permits to exist between this assertion and an assertion which has ultimately been issued on the basis of it.
    void
    setAudience(List<String> audiences)
    Sets the list of audiences to whom the asserting party permits new assertions to be issued on the basis of this assertion.
    void
    setCount(int value)
    Sets the maximum number of indirections that the asserting party permits to exist between this assertion and an assertion which has ultimately been issued on the basis of it.

    Methods inherited from interface com.sun.identity.saml2.assertion.ConditionAbstract

    isMutable, makeImmutable

    Methods inherited from interface com.sun.identity.saml2.common.XmlSerializable

    toDocumentFragment, toXMLString, toXMLString
  • Method Details

    • getCount

      int getCount()
      Returns the maximum number of indirections that the asserting party permits to exist between this assertion and an assertion which has ultimately been issued on the basis of it.
      Returns:
      the count number
    • setCount

      void setCount(int value) throws com.sun.identity.saml2.common.SAML2Exception
      Sets the maximum number of indirections that the asserting party permits to exist between this assertion and an assertion which has ultimately been issued on the basis of it.
      Parameters:
      value - the count number
      Throws:
      com.sun.identity.saml2.common.SAML2Exception - if the object is immutable
    • getAudience

      List<String> getAudience()
      Returns the list of audiences to whom the asserting party permits new assertions to be issued on the basis of this assertion.
      Returns:
      a list of String represented audiences
    • setAudience

      void setAudience(List<String> audiences) throws com.sun.identity.saml2.common.SAML2Exception
      Sets the list of audiences to whom the asserting party permits new assertions to be issued on the basis of this assertion.
      Parameters:
      audiences - a list of String represented audiences
      Throws:
      com.sun.identity.saml2.common.SAML2Exception - if the object is immutable