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
ConstructorsModifierConstructorDescriptionprotectedAssertionImpl(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AssertionType aAssertion) Instantiates a new AssertionImpl.protectedAssertionImpl(org.opensaml.saml.saml2.core.Assertion aAssertion) Instantiates a new AssertionImpl. -
Method Summary
Modifier and TypeMethodDescriptionvoidaddStatements(List<org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.StatementAbstractType> statements) Method to add statements.voidgetSubject(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.SubjectType subject) Method to set a subject.org.opensaml.saml.saml2.core.AssertionMethod to get the wrapped inner object. Methode um das Innere, gewrappte object zu erhalten.booleanmethod to check for signature.voidmethod to set attributes.voidmethod to set authnstatements.voidmethod to set conditions.voidsetConditions(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.ConditionsType conditions) method to set a conditions.voidmethod to set condition audience restrictions.voidmethod to set condition not before.voidmethod to set condition not on or after.voidsetId()method to setidvoidmethod to an idvoidvoidMethod to set IssueInstantvoidvoidsetIssuer(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.NameIDType issuer) method to setIssuervoidmethod to set statements.voidMethod to set subject.voidmethod to set the versionvoidsetVersion(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:
setConditionsin 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:
setIssueInstantin 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:
setIssuerin 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:
setVersionin 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:
getWrappedObjectin interfaceSecurityHeaderElement- Specified by:
getWrappedObjectin 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
-