public class AssertionType extends CommonAssertionType
ID, issueInstant
Constructor and Description |
---|
AssertionType(String iD,
XMLGregorianCalendar issueInstant)
Create an assertion
|
Modifier and Type | Method and Description |
---|---|
void |
addStatement(StatementAbstractType statement)
Add a statement
|
void |
addStatements(Collection<StatementAbstractType> statement)
Add a collection of statements
|
void |
addStatements(Set<StatementAbstractType> statement)
Add a set of statements
|
protected void |
checkSTSPermission() |
AdviceType |
getAdvice()
Get the advice
|
ConditionsType |
getConditions()
Get the conditions
|
NameIDType |
getIssuer()
Get the issuer
|
Element |
getSignature()
Get the signature as a DOM element
|
Set<StatementAbstractType> |
getStatements()
Get a read only set of statements
|
SubjectType |
getSubject()
Get the subject
|
String |
getVersion()
Get the version of SAML
|
void |
setAdvice(AdviceType advice)
Set the advice
|
void |
setConditions(ConditionsType conditions)
Set the conditions
|
void |
setIssuer(NameIDType issuer)
Set the issuer
|
void |
setSignature(Element signature)
Set the signature DOM element
|
void |
setSubject(SubjectType subject)
Set the subject
|
void |
updateIssueInstant(XMLGregorianCalendar xg)
Update the issue instant
|
getID, getIssueInstant
public AssertionType(String iD, XMLGregorianCalendar issueInstant)
iD
- ID of the assertion (Required)issueInstant
- XMLGregorianCalendar
issue instant (required)version
- public SubjectType getSubject()
SubjectType
public void setSubject(SubjectType subject)
subject
- public AdviceType getAdvice()
AdviceType
public void setAdvice(AdviceType advice)
advice
- advice
public ConditionsType getConditions()
ConditionsType
public void setConditions(ConditionsType conditions)
conditions
- ConditionsType
public NameIDType getIssuer()
NameIDType
public void setIssuer(NameIDType issuer)
issuer
- NameIDType
public void addStatement(StatementAbstractType statement)
statement
- StatementAbstractType
public void addStatements(Collection<StatementAbstractType> statement)
statement
- Collection
public void addStatements(Set<StatementAbstractType> statement)
statement
- Collection
public Set<StatementAbstractType> getStatements()
Set
public void setSignature(Element signature)
signature
- public void updateIssueInstant(XMLGregorianCalendar xg)
xg
- protected void checkSTSPermission()
Copyright © 2020 JBoss by Red Hat. All rights reserved.