Class AudienceRestrictionCondition
- java.lang.Object
-
- com.sun.xml.wss.saml.internal.saml11.jaxb20.ConditionAbstractType
-
- com.sun.xml.wss.saml.internal.saml11.jaxb20.AudienceRestrictionConditionType
-
- com.sun.xml.wss.saml.assertion.saml11.jaxb20.AudienceRestrictionCondition
-
- All Implemented Interfaces:
AudienceRestrictionCondition
public class AudienceRestrictionCondition extends AudienceRestrictionConditionType implements AudienceRestrictionCondition
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.saml11.jaxb20.AudienceRestrictionConditionType
audience
-
-
Constructor Summary
Constructors Constructor Description AudienceRestrictionCondition(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 AudienceRestrictionConditionTypefromElement(Element element)Constructs anAudienceRestrictionConditionelement from an existing XML block.-
Methods inherited from class com.sun.xml.wss.saml.internal.saml11.jaxb20.AudienceRestrictionConditionType
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.AudienceRestrictionCondition
getAudience
-
-
-
-
Field Detail
-
log
protected static final Logger log
-
-
Constructor Detail
-
AudienceRestrictionCondition
public AudienceRestrictionCondition(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 AudienceRestrictionConditionType fromElement(Element element) throws SAMLException
Constructs anAudienceRestrictionConditionelement from an existing XML block.- Parameters:
element- Aorg.w3c.dom.Elementrepresenting DOM tree forAudienceRestrictionConditionobject.- 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.
-
-