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
ConstructorDescriptionAssertionType
(String iD, XMLGregorianCalendar issueInstant) Create an assertion -
Method Summary
Modifier and TypeMethodDescriptionvoid
addStatement
(StatementAbstractType statement) Add a statementvoid
addStatements
(Collection<StatementAbstractType> statement) Add a collection of statementsvoid
addStatements
(Set<StatementAbstractType> statement) Add a set of statementsprotected void
Get the adviceGet the conditionsGet the issuerGet the signature as a DOM elementGet a read only set of statementsGet the subjectGet the version of SAMLvoid
setAdvice
(AdviceType advice) Set the advicevoid
setConditions
(ConditionsType conditions) Set the conditionsvoid
setIssuer
(NameIDType issuer) Set the issuervoid
setSignature
(Element signature) Set the signature DOM elementvoid
setSubject
(SubjectType subject) Set the subjectvoid
Update 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
-XMLGregorianCalendar
issue 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()
-