Class ConditionsType
- java.lang.Object
-
- org.keycloak.dom.saml.common.CommonConditionsType
-
- org.keycloak.dom.saml.v2.assertion.ConditionsType
-
- All Implemented Interfaces:
Serializable
public class ConditionsType extends CommonConditionsType implements Serializable
Java class for ConditionsType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="ConditionsType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <choice maxOccurs="unbounded" minOccurs="0"> <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}Condition"/> <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}AudienceRestriction"/> <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}OneTimeUse"/> <element ref="{urn:oasis:names:tc:SAML:2.0:assertion}ProxyRestriction"/> </choice> <attribute name="NotBefore" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> <attribute name="NotOnOrAfter" type="{http://www.w3.org/2001/XMLSchema}dateTime" /> </restriction> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected List<ConditionAbstractType>
conditions
-
Fields inherited from class org.keycloak.dom.saml.common.CommonConditionsType
notBefore, notOnOrAfter
-
-
Constructor Summary
Constructors Constructor Description ConditionsType()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addCondition(ConditionAbstractType condition)
Add a conditionList<ConditionAbstractType>
getConditions()
Gets an read only conditions list.void
removeCondition(ConditionAbstractType condition)
Remove a condition-
Methods inherited from class org.keycloak.dom.saml.common.CommonConditionsType
getNotBefore, getNotOnOrAfter, setNotBefore, setNotOnOrAfter
-
-
-
-
Field Detail
-
conditions
protected List<ConditionAbstractType> conditions
-
-
Method Detail
-
addCondition
public void addCondition(ConditionAbstractType condition)
Add a condition- Parameters:
condition
-
-
removeCondition
public void removeCondition(ConditionAbstractType condition)
Remove a condition- Parameters:
condition
-
-
getConditions
public List<ConditionAbstractType> getConditions()
Gets an read only conditions list.
-
-