Package org.projecthusky.xua.saml2.impl
Class AssertionBuilderImpl
java.lang.Object
org.projecthusky.xua.saml2.impl.AssertionBuilderImpl
- All Implemented Interfaces:
SecurityObjectBuilder<org.opensaml.saml.saml2.core.Assertion,
,Assertion> AssertionBuilder
,BaseBuilder<AssertionBuilder>
public class AssertionBuilderImpl
extends Object
implements AssertionBuilder, SecurityObjectBuilder<org.opensaml.saml.saml2.core.Assertion,Assertion>
Class implementing the corresponding interface for Assertion building.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAttribute
(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType attribute) Method to add an Attribute to the assertion to be build. Methode um ein Attribute dem Assertion hinzuzufügen.addCondition
(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.ConditionsType condition) Method to add a Condition to the assertion to be build. Methode um eine Condition der Assertion hinzuzufügen.create()
Creates a concrete instance of Assertion with setted params. Erstellt die konkrete Instanz des Assertion mit den gesetzten Parametern.create
(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AssertionType aInternalObject) Method to create an instance of type AssertionType. Methode um eine Instanc des Typs AssertionType zu erstellen.create
(org.opensaml.saml.saml2.core.Assertion aInternalObject) Method to create an instance of type T. Methode um eine Instanc des Typs T zu erstellen.Builds the id on the T. Bildet die ID im T.issueInstant
(Calendar aIssueInstant) Builds the issueInstant on the T. Bildet den issueInstant im T.Builds the Issuer element on the T. Buildet das Issuer element im T.Builds the Version on the T. Buildet die Version im T.
-
Constructor Details
-
AssertionBuilderImpl
public AssertionBuilderImpl()Default constructor.
-
-
Method Details
-
addAttribute
public AssertionBuilder addAttribute(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AttributeType attribute) Method to add an Attribute to the assertion to be build.Methode um ein Attribute dem Assertion hinzuzufügen.- Specified by:
addAttribute
in interfaceAssertionBuilder
- Parameters:
attribute
-the Attribute to be added.das Attribute welches hinzugefügt werden soll.- Returns:
- the actual instance of this builderdie aktuelle Instanz des Builders
-
addCondition
public AssertionBuilder addCondition(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.ConditionsType condition) Description copied from interface:AssertionBuilder
Method to add a Condition to the assertion to be build.Methode um eine Condition der Assertion hinzuzufügen.- Specified by:
addCondition
in interfaceAssertionBuilder
- Parameters:
condition
-the Condition to be added.die Condition welche hinzugefügt werden soll.- Returns:
- the actual instance of this builderdie aktuelle Instanz des Builders
-
create
Creates a concrete instance of Assertion with setted params.Erstellt die konkrete Instanz des Assertion mit den gesetzten Parametern.- Specified by:
create
in interfaceAssertionBuilder
- Returns:
- a new Assertion instance with the params seteine neue Assertion Instanz mit den gesetzten Parametern
- See Also:
-
create
public Assertion create(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AssertionType aInternalObject) Method to create an instance of type AssertionType.Methode um eine Instanc des Typs AssertionType zu erstellen.- Specified by:
create
in interfaceAssertionBuilder
- Parameters:
aInternalObject
-the internal wrapped object of type AssertionTypedas Innere, gewrappte Object vom Typ AssertionType- Returns:
- the Object ot the type Assertion
the instance of type Assertiondie erstellte Instanz vom Typ Assertion
- See Also:
-
create
Method to create an instance of type T.Methode um eine Instanc des Typs T zu erstellen.- Specified by:
create
in interfaceSecurityObjectBuilder<org.opensaml.saml.saml2.core.Assertion,
Assertion> - Parameters:
aInternalObject
-the internal wrapped object of type Tdas Innere, gewrappte Object vom Typ T- Returns:
- the Object ot the type U
the instance of type Udie erstellte Instanz vom Typ U
- See Also:
-
id
Builds the id on the T.Bildet die ID im T.- Specified by:
id
in interfaceBaseBuilder<AssertionBuilder>
- Parameters:
aId
-the id string to be setdie ID die gesetzt werden soll- Returns:
- the actual instance of this builderdie aktuelle Instanz des Builders
- See Also:
-
issueInstant
Builds the issueInstant on the T.Bildet den issueInstant im T.- Specified by:
issueInstant
in interfaceBaseBuilder<AssertionBuilder>
- Parameters:
aIssueInstant
-the issueInstant to be setder issueInstant der gesetzt werden soll- Returns:
- the actual instance of this builderdie aktuelle Instanz des Builders
- See Also:
-
issuer
Builds the Issuer element on the T.Buildet das Issuer element im T.- Specified by:
issuer
in interfaceBaseBuilder<AssertionBuilder>
- Parameters:
aIssuer
-the issuer to be setder Issuer der gesetzt werden soll- Returns:
- the actual instance of this builderdie aktuelle Instanz des Builders
- See Also:
-
version
Builds the Version on the T.Buildet die Version im T.- Specified by:
version
in interfaceBaseBuilder<AssertionBuilder>
- Parameters:
aVersion
-the issuer to be setder Issuer der gesetzt werden soll- Returns:
- the actual instance of this builderdie aktuelle Instanz des Builders
- See Also:
-