Class AudienceRestriction
java.lang.Object
com.sun.xml.wss.saml.internal.saml20.jaxb20.ConditionAbstractType
com.sun.xml.wss.saml.internal.saml20.jaxb20.AudienceRestrictionType
com.sun.xml.wss.saml.assertion.saml20.jaxb20.AudienceRestriction
- All Implemented Interfaces:
AudienceRestriction
This is an implementation of the abstract
Condition
class, which
specifes that the assertion this AuthenticationCondition is part of, is
addressed to one or more specific audience.-
Field Summary
FieldsFields inherited from class com.sun.xml.wss.saml.internal.saml20.jaxb20.AudienceRestrictionType
audience
-
Constructor Summary
ConstructorsConstructorDescriptionAudienceRestriction
(List audience) This constructor takes in aList
of audience for this condition, each of them being a String. -
Method Summary
Modifier and TypeMethodDescriptionstatic AudienceRestrictionType
fromElement
(Element element) Constructs anAudienceRestriction
element from an existing XML block.Methods inherited from class com.sun.xml.wss.saml.internal.saml20.jaxb20.AudienceRestrictionType
getAudience
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sun.xml.wss.saml.AudienceRestriction
getAudience
-
Field Details
-
log
-
-
Constructor Details
-
AudienceRestriction
This constructor takes in aList
of audience for this condition, each of them being a String.- Parameters:
audience
- A List of audience to be included within this condition
-
-
Method Details
-
fromElement
Constructs anAudienceRestriction
element from an existing XML block.- Parameters:
element
- Aorg.w3c.dom.Element
representing DOM tree forAudienceRestriction
object.- Throws:
SAMLException
- if it could not process theorg.w3c.dom.Element
properly, implying that there is an error in the sender or in the element definition.
-