Class AssertionType
- java.lang.Object
-
- org.keycloak.dom.saml.common.CommonAssertionType
-
- org.keycloak.dom.saml.v2.assertion.AssertionType
-
- All Implemented Interfaces:
Serializable
public class AssertionType extends CommonAssertionType
- Since:
- Nov 24, 2010
- Author:
- Anil.Saldhana@redhat.com
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.keycloak.dom.saml.common.CommonAssertionType
ID, issueInstant
-
-
Constructor Summary
Constructors Constructor Description AssertionType(String iD, XMLGregorianCalendar issueInstant)Create an assertion
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddStatement(StatementAbstractType statement)Add a statementvoidaddStatements(Collection<StatementAbstractType> statement)Add a collection of statementsvoidaddStatements(Set<StatementAbstractType> statement)Add a set of statementsprotected voidcheckSTSPermission()AdviceTypegetAdvice()Get the adviceSet<AttributeStatementType>getAttributeStatements()ConditionsTypegetConditions()Get the conditionsNameIDTypegetIssuer()Get the issuerElementgetSignature()Get the signature as a DOM elementSet<StatementAbstractType>getStatements()Get a read only set of statementsSubjectTypegetSubject()Get the subjectStringgetVersion()Get the version of SAMLvoidsetAdvice(AdviceType advice)Set the advicevoidsetConditions(ConditionsType conditions)Set the conditionsvoidsetIssuer(NameIDType issuer)Set the issuervoidsetSignature(Element signature)Set the signature DOM elementvoidsetSubject(SubjectType subject)Set the subjectvoidupdateIssueInstant(XMLGregorianCalendar xg)Update the issue instant-
Methods inherited from class org.keycloak.dom.saml.common.CommonAssertionType
getID, getIssueInstant
-
-
-
-
Constructor Detail
-
AssertionType
public AssertionType(String iD, XMLGregorianCalendar issueInstant)
Create an assertion- Parameters:
iD- ID of the assertion (Required)issueInstant-XMLGregorianCalendarissue instant (required)version-
-
-
Method Detail
-
getSubject
public SubjectType getSubject()
Get the subject- Returns:
SubjectType
-
setSubject
public void setSubject(SubjectType subject)
Set the subject- Parameters:
subject-
-
getAdvice
public AdviceType getAdvice()
Get the advice- Returns:
AdviceType
-
setAdvice
public void setAdvice(AdviceType advice)
Set the advice- Parameters:
advice-advice
-
getConditions
public ConditionsType getConditions()
Get the conditions- Returns:
ConditionsType
-
setConditions
public void setConditions(ConditionsType conditions)
Set the conditions- Parameters:
conditions-ConditionsType
-
getIssuer
public NameIDType getIssuer()
Get the issuer- Returns:
NameIDType
-
setIssuer
public void setIssuer(NameIDType issuer)
Set the issuer- Parameters:
issuer-NameIDType
-
addStatement
public void addStatement(StatementAbstractType statement)
Add a statement- Parameters:
statement-StatementAbstractType
-
addStatements
public void addStatements(Collection<StatementAbstractType> statement)
Add a collection of statements- Parameters:
statement-Collection
-
addStatements
public void addStatements(Set<StatementAbstractType> statement)
Add a set of statements- Parameters:
statement-Collection
-
getStatements
public Set<StatementAbstractType> getStatements()
Get a read only set of statements- Returns:
Set
-
setSignature
public void setSignature(Element signature)
Set the signature DOM element- Parameters:
signature-
-
getAttributeStatements
public Set<AttributeStatementType> getAttributeStatements()
-
updateIssueInstant
public void updateIssueInstant(XMLGregorianCalendar xg)
Update the issue instant- Parameters:
xg-
-
checkSTSPermission
protected void checkSTSPermission()
-
-