com.sun.identity.saml2.assertion
Interface ProxyRestriction

All Superinterfaces:
ConditionAbstract

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
 java.util.List getAudience()
          Returns the list of audiences to whom the asserting party permits new assertions to be issued on the basis of this assertion.
 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.
 void setAudience(java.util.List 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, toXMLString, toXMLString
 

Method Detail

getCount

public 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

public void setCount(int value)
              throws 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:
SAML2Exception - if the object is immutable

getAudience

public java.util.List 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

public void setAudience(java.util.List audiences)
                 throws 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:
SAML2Exception - if the object is immutable


Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.