Package org.projecthusky.xua.saml2.impl
Class SubjectBuilderImpl
java.lang.Object
org.projecthusky.xua.saml2.impl.SubjectBuilderImpl
- All Implemented Interfaces:
SecurityObjectBuilder<org.opensaml.saml.saml2.core.Subject,,org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.SubjectType> SimpleBuilder<org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.SubjectType>,SubjectBuilder
public class SubjectBuilderImpl
extends Object
implements SubjectBuilder, SecurityObjectBuilder<org.opensaml.saml.saml2.core.Subject,org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.SubjectType>
Class implementing the corresponding interface for Subject building.
Die Klasse implementiert das entsprechende Interface um Subject bilden zu können.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddSubjectConfirmations(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.SubjectConfirmationType aSubjectConfirmation) Method to add a SubjectConfirmation to the Subject to be build. Methode um ein SubjectConfirmation dem zu buildenden Subject hinzuzufügen.org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.SubjectTypecreate()Creates a concrete instance of T with setted params. Erstellt die konkrete Instanz von T mit den gesetzten Parametern.org.opensaml.saml.saml2.core.Subjectcreate(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.SubjectType aInternalObject) Method to create SubjectType.org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.SubjectTypecreate(org.opensaml.saml.saml2.core.Subject aInternalObject) Method to create an instance of type T. Methode um eine Instanc des Typs T zu erstellen.nameIDFormat(String aNameIDFormat) Builds the NameID.Format on the Subject. Bildet das NameID.Format im Subject.nameIDNameQualifier(String aNameIDNameQualifier) Builds the NameID.NameQualifier on the Subject. Bildet das NameID.NameQualifier im Subject.nameIDValue(String aNameIDValue) Builds the NameID.Value on the Subject. Bildet das NameID.Value im Subject.subjectConfirmations(List<org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.SubjectConfirmationType> aSubjectConfirmations) Method to set a listSubjectConfirmations of the SubjectConfirmation to be build. Methode um eine liste vonSubjectConfirmationdem SubjectConfirmation hinzuzufügen.
-
Constructor Details
-
SubjectBuilderImpl
public SubjectBuilderImpl()Default constructor.
-
-
Method Details
-
addSubjectConfirmations
public SubjectBuilder addSubjectConfirmations(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.SubjectConfirmationType aSubjectConfirmation) Description copied from interface:SubjectBuilderMethod to add a SubjectConfirmation to the Subject to be build.Methode um ein SubjectConfirmation dem zu buildenden Subject hinzuzufügen.- Specified by:
addSubjectConfirmationsin interfaceSubjectBuilder- Parameters:
aSubjectConfirmation-aListofSubjectConfirmationto be seteineListvonSubjectConfirmationdie gesetzt werden soll- Returns:
- the actual instance of this builderdie aktuelle Instanz des Builders
-
create
public org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.SubjectType create()Description copied from interface:SimpleBuilderCreates a concrete instance of T with setted params.Erstellt die konkrete Instanz von T mit den gesetzten Parametern.- Specified by:
createin interfaceSimpleBuilder<org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.SubjectType>- Returns:
- a new instance of T with the params seteine neue Instanz von T mit den gesetzten Parametern
-
create
public org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.SubjectType create(org.opensaml.saml.saml2.core.Subject aInternalObject) Description copied from interface:SecurityObjectBuilderMethod to create an instance of type T.Methode um eine Instanc des Typs T zu erstellen.- Specified by:
createin interfaceSecurityObjectBuilder<org.opensaml.saml.saml2.core.Subject,org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.SubjectType> - 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
-
create
public org.opensaml.saml.saml2.core.Subject create(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.SubjectType aInternalObject) Method to create SubjectType.- Parameters:
aInternalObject- the SubjectType- Returns:
- the opensaml SubjectType
-
nameIDFormat
Description copied from interface:SubjectBuilderBuilds the NameID.Format on the Subject.Bildet das NameID.Format im Subject.- Specified by:
nameIDFormatin interfaceSubjectBuilder- Parameters:
aNameIDFormat-the NameID.Format to be setdas NameID.Format welches gesetzt werden soll- Returns:
- the actual instance of this builderdie aktuelle Instanz des Builders
-
nameIDNameQualifier
Description copied from interface:SubjectBuilderBuilds the NameID.NameQualifier on the Subject.Bildet das NameID.NameQualifier im Subject.- Specified by:
nameIDNameQualifierin interfaceSubjectBuilder- Parameters:
aNameIDNameQualifier-the NameID.NameQualifier to be setdas NameID.NameQualifier welches gesetzt werden soll- Returns:
- the actual instance of this builderdie aktuelle Instanz des Builders
-
nameIDValue
Builds the NameID.Value on the Subject.Bildet das NameID.Value im Subject.- Specified by:
nameIDValuein interfaceSubjectBuilder- Parameters:
aNameIDValue-the NameID.Value to be setdas NameID.Value welches gesetzt werden soll- Returns:
- the actual instance of this builderdie aktuelle Instanz des Builders
- See Also:
-
subjectConfirmations
public SubjectBuilder subjectConfirmations(List<org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.SubjectConfirmationType> aSubjectConfirmations) Description copied from interface:SubjectBuilderMethod to set a listSubjectConfirmations of the SubjectConfirmation to be build.Methode um eine liste vonSubjectConfirmationdem SubjectConfirmation hinzuzufügen.- Specified by:
subjectConfirmationsin interfaceSubjectBuilder- Parameters:
aSubjectConfirmations-aListofSubjectConfirmationto be seteineListvonSubjectConfirmationdie gesetzt werden soll- Returns:
- the actual instance of this builderdie aktuelle Instanz des Builders
-