Package com.sun.identity.saml2.assertion
Interface ProxyRestriction
-
- All Superinterfaces:
ConditionAbstract
,XmlSerializable
@SupportedAll public interface ProxyRestriction extends ConditionAbstract
TheProxyRestriction
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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.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(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 Detail
-
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 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
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 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 ofString
represented audiences- Throws:
SAML2Exception
- if the object is immutable
-
-