Package org.projecthusky.xua.saml2.impl
Class AssertionImpl
java.lang.Object
org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AssertionType
org.projecthusky.xua.saml2.Assertion
org.projecthusky.xua.saml2.impl.AssertionImpl
- All Implemented Interfaces:
SecurityHeaderElement
,SecurityObject<org.opensaml.saml.saml2.core.Assertion>
public class AssertionImpl
extends Assertion
implements SecurityObject<org.opensaml.saml.saml2.core.Assertion>
Implementation class of Interface Assertion
-
Field Summary
Fields inherited from class org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AssertionType
advice, conditions, id, issueInstant, issuer, signature, statementOrAuthnStatementOrAuthzDecisionStatement, subject, version
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
AssertionImpl
(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AssertionType aAssertion) Instantiates a new AssertionImpl.protected
AssertionImpl
(org.opensaml.saml.saml2.core.Assertion aAssertion) Instantiates a new AssertionImpl. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addStatements
(List<org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.StatementAbstractType> statements) Method to add statements.void
getSubject
(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.SubjectType subject) Method to set a subject.org.opensaml.saml.saml2.core.Assertion
Method to get the wrapped inner object. Methode um das Innere, gewrappte object zu erhalten.boolean
method to check for signature.void
method to set attributes.void
method to set authnstatements.void
method to set conditions.void
setConditions
(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.ConditionsType conditions) method to set a conditions.void
method to set condition audience restrictions.void
method to set condition not before.void
method to set condition not on or after.void
setId()
method to setidvoid
method to an idvoid
void
Method to set IssueInstantvoid
void
setIssuer
(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.NameIDType issuer) method to setIssuervoid
method to set statements.void
Method to set subject.void
method to set the versionvoid
setVersion
(String version) Method to set a version.Methods inherited from class org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AssertionType
getAdvice, getConditions, getID, getIssueInstant, getIssuer, getSignature, getStatementOrAuthnStatementOrAuthzDecisionStatement, getSubject, getVersion, setAdvice, setID, setSignature, setSubject
-
Constructor Details
-
AssertionImpl
protected AssertionImpl(org.opensaml.saml.saml2.core.Assertion aAssertion) Instantiates a new AssertionImpl.- Parameters:
aAssertion
- the Assertion
-
AssertionImpl
protected AssertionImpl(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AssertionType aAssertion) Instantiates a new AssertionImpl.- Parameters:
aAssertion
- the Assertion
-
-
Method Details
-
setAttributes
public void setAttributes()method to set attributes. -
addStatements
public void addStatements(List<org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.StatementAbstractType> statements) Method to add statements.- Parameters:
statements
- the list of statements to be added
-
setAuthnStatements
public void setAuthnStatements()method to set authnstatements. -
setStatements
public void setStatements()method to set statements. -
setConditions
public void setConditions()method to set conditions. -
setConditions
public void setConditions(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.ConditionsType conditions) method to set a conditions.- Overrides:
setConditions
in classorg.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AssertionType
-
setConditionsAudienceRestrictions
public void setConditionsAudienceRestrictions()method to set condition audience restrictions. -
setConditionsNotBefore
public void setConditionsNotBefore()method to set condition not before. -
setConditionsNotOnOrAfter
public void setConditionsNotOnOrAfter()method to set condition not on or after. -
setId
public void setId()method to setid -
setId
method to an id- Parameters:
id
- the id to set
-
setIssueInstant
public void setIssueInstant()- See Also:
-
AssertionType.getIssueInstant()
-
setIssueInstant
Method to set IssueInstant- Overrides:
setIssueInstant
in classorg.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AssertionType
- Parameters:
cal
- the XMLGregorianCalendar to set
-
setIssuer
public void setIssuer()- See Also:
-
AssertionType.getIssuer()
-
setIssuer
public void setIssuer(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.NameIDType issuer) method to setIssuer- Overrides:
setIssuer
in classorg.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AssertionType
- Parameters:
issuer
- the issue to be set
-
setSubject
public void setSubject()Method to set subject. -
getSubject
public void getSubject(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.SubjectType subject) Method to set a subject.- Parameters:
subject
- the subject to be set.
-
setVersion
public void setVersion()method to set the version -
setVersion
Method to set a version.- Overrides:
setVersion
in classorg.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AssertionType
- Parameters:
version
- the version to be set
-
getWrappedObject
public org.opensaml.saml.saml2.core.Assertion getWrappedObject()Method to get the wrapped inner object.Methode um das Innere, gewrappte object zu erhalten.- Specified by:
getWrappedObject
in interfaceSecurityHeaderElement
- Specified by:
getWrappedObject
in interfaceSecurityObject<org.opensaml.saml.saml2.core.Assertion>
- Returns:
- returns the wrapped inner object (depends on implementation)
- See Also:
-
hasSignature
public boolean hasSignature()method to check for signature.- Returns:
- true if signature is available else false
-