Class AssertionType
java.lang.Object
org.keycloak.dom.saml.common.CommonAssertionType
org.keycloak.dom.saml.v2.assertion.AssertionType
- All Implemented Interfaces:
Serializable
- Since:
- Nov 24, 2010
- Author:
- Anil.Saldhana@redhat.com
- See Also:
-
Field Summary
Fields inherited from class org.keycloak.dom.saml.common.CommonAssertionType
ID, issueInstant -
Constructor Summary
ConstructorsConstructorDescriptionAssertionType(String iD, XMLGregorianCalendar issueInstant) Create an assertion -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStatement(StatementAbstractType statement) Add a statementvoidaddStatements(Collection<StatementAbstractType> statement) Add a collection of statementsvoidaddStatements(Set<StatementAbstractType> statement) Add a set of statementsprotected voidGet the adviceGet the conditionsGet the issuerGet the signature as a DOM elementGet a read only set of statementsGet the subjectGet 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 subjectvoidUpdate the issue instantMethods inherited from class org.keycloak.dom.saml.common.CommonAssertionType
getID, getIssueInstant
-
Constructor Details
-
AssertionType
Create an assertion- Parameters:
iD- ID of the assertion (Required)issueInstant-XMLGregorianCalendarissue instant (required)version-
-
-
Method Details
-
getSubject
Get the subject- Returns:
SubjectType
-
setSubject
Set the subject- Parameters:
subject-
-
getVersion
Get the version of SAML- Returns:
String
-
getAdvice
Get the advice- Returns:
AdviceType
-
setAdvice
Set the advice- Parameters:
advice-advice
-
getConditions
Get the conditions- Returns:
ConditionsType
-
setConditions
Set the conditions- Parameters:
conditions-ConditionsType
-
getIssuer
Get the issuer- Returns:
NameIDType
-
setIssuer
Set the issuer- Parameters:
issuer-NameIDType
-
addStatement
Add a statement- Parameters:
statement-StatementAbstractType
-
addStatements
Add a collection of statements- Parameters:
statement-Collection
-
addStatements
Add a set of statements- Parameters:
statement-Collection
-
getStatements
Get a read only set of statements- Returns:
Set
-
getSignature
Get the signature as a DOM element- Returns:
Element
-
setSignature
Set the signature DOM element- Parameters:
signature-
-
getAttributeStatements
-
updateIssueInstant
Update the issue instant- Parameters:
xg-
-
checkSTSPermission
protected void checkSTSPermission()
-