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 aListof audience for this condition, each of them being a String. -
Method Summary
Modifier and TypeMethodDescriptionstatic AudienceRestrictionTypefromElement(Element element) Constructs anAudienceRestrictionelement from an existing XML block.Methods inherited from class com.sun.xml.wss.saml.internal.saml20.jaxb20.AudienceRestrictionType
getAudienceMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.sun.xml.wss.saml.AudienceRestriction
getAudience
-
Field Details
-
log
-
-
Constructor Details
-
AudienceRestriction
This constructor takes in aListof 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 anAudienceRestrictionelement from an existing XML block.- Parameters:
element- Aorg.w3c.dom.Elementrepresenting DOM tree forAudienceRestrictionobject.- Throws:
SAMLException- if it could not process theorg.w3c.dom.Elementproperly, implying that there is an error in the sender or in the element definition.
-