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
public class AudienceRestriction extends AudienceRestrictionType implements AudienceRestriction
This is an implementation of the abstractConditionclass, which specifes that the assertion this AuthenticationCondition is part of, is addressed to one or more specific audience.
-
-
Field Summary
Fields Modifier and Type Field Description protected static Loggerlog-
Fields inherited from class com.sun.xml.wss.saml.internal.saml20.jaxb20.AudienceRestrictionType
audience
-
-
Constructor Summary
Constructors Constructor Description AudienceRestriction(List audience)This constructor takes in aListof audience for this condition, each of them being a String.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AudienceRestrictionTypefromElement(Element element)Constructs anAudienceRestrictionelement 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 Detail
-
log
protected static final Logger log
-
-
Constructor Detail
-
AudienceRestriction
public AudienceRestriction(List audience)
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 Detail
-
fromElement
public static AudienceRestrictionType fromElement(Element element) throws SAMLException
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.
-
-