|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||
java.lang.Objectcom.sun.identity.saml.assertion.Condition
com.sun.identity.saml.assertion.AudienceRestrictionCondition
public class AudienceRestrictionCondition
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.
| フィールドの概要 |
|---|
| クラス com.sun.identity.saml.assertion.Condition から継承されたフィールド |
|---|
INDETERMINATE, INVALID, VALID |
| コンストラクタの概要 | |
|---|---|
AudienceRestrictionCondition(Element audienceRestrictionConditionElement)
Constructs an AudienceRestrictionCondition element from an
existing XML block. |
|
AudienceRestrictionCondition(List audience)
Constructs AudienceRestrictionCondition with a
List of audience for this condition, each of them
being a String. |
|
| メソッドの概要 | |
|---|---|
boolean |
addAudience(String audience)
Adds an audience to this Condition element |
boolean |
containsAudience(String audience)
Returns true if a particular audience string is contained within this AudienceRestrictionCondition object |
int |
evaluate()
Evaluates this condition This method can be overridden by a plug-in which provides means of evaluating this condition |
List |
getAudience()
Returns list of Audience held within this Condition element |
boolean |
removeAudience(String audience)
Removes an audience from the List within this Condition
element |
boolean |
setAudience(List audience)
Adds a List of audience held within this Condition element |
String |
toString()
Returns a String representation of the element. |
String |
toString(boolean includeNS,
boolean declareNS)
Returns a String representation of the <AudienceRestrictionCondition> element. |
| コンストラクタの詳細 |
|---|
public AudienceRestrictionCondition(Element audienceRestrictionConditionElement)
throws SAMLException
AudienceRestrictionCondition element from an
existing XML block.
audienceRestrictionConditionElement - 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.
public AudienceRestrictionCondition(List audience)
throws SAMLException
AudienceRestrictionCondition with a
List of audience for this condition, each of them
being a String.
audience - A List of audience to be included within this condition
SAMLException - if the List is empty or if there is
some error in processing the contents of the List| メソッドの詳細 |
|---|
public boolean addAudience(String audience)
audience - audience to be added
public boolean setAudience(List audience)
List of audience held within this Condition element
audience - A List of audience to be included within
this condition
public List getAudience()
List of Audience within this Condition elementpublic boolean containsAudience(String audience)
AudienceRestrictionCondition object
audience - audience to be checked
public boolean removeAudience(String audience)
List within this Condition
element
audience - A string representing the value of the Audience
public String toString()
Object 内の toString<saml:AudienceRestrictionCondition>.
public String toString(boolean includeNS,
boolean declareNS)
<AudienceRestrictionCondition> element.
Condition 内の toStringincludeNS - Determines whether or not the namespace qualifier is
prepended to the Element when converteddeclareNS - Determines whether or not the namespace is declared
within the Element.
public int evaluate()
Condition 内の evaluate
|
|||||||||
| 前のクラス 次のクラス | フレームあり フレームなし | ||||||||
| 概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド | ||||||||