public class AudienceRestrictionCondition extends AudienceRestrictionConditionType implements AudienceRestrictionCondition
Condition class, which
specifes that the assertion this AuthenticationCondition is part of, is
addressed to one or more specific audience.| Modifier and Type | Field and Description |
|---|---|
protected static Logger |
log |
audience| Constructor and Description |
|---|
AudienceRestrictionCondition(List audience)
This constructor takes in a
List of audience for this
condition, each of them being a String. |
| Modifier and Type | Method and Description |
|---|---|
static AudienceRestrictionConditionType |
fromElement(Element element)
Constructs an
AudienceRestrictionCondition element from an
existing XML block. |
getAudienceclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAudienceprotected static final Logger log
public AudienceRestrictionCondition(List audience)
List of audience for this
condition, each of them being a String.audience - A List of audience to be included within this conditionSAMLException - if the List is empty or if there is
some error in processing the contents of the Listpublic static AudienceRestrictionConditionType fromElement(Element element) throws SAMLException
AudienceRestrictionCondition element from an
existing XML block.element - A
org.w3c.dom.Element representing DOM tree for
AudienceRestrictionCondition object.SAMLException - if it could not process the
org.w3c.dom.Element properly, implying that there
is an error in the sender or in the element definition.Copyright © 2005–2018 Oracle Corporation. All rights reserved.