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
    Constructor
    Description
    Default constructor.
  • Method Summary

    Modifier and Type
    Method
    Description
    addSubjectConfirmations(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.SubjectType
    Creates a concrete instance of T with setted params. Erstellt die konkrete Instanz von T mit den gesetzten Parametern.
    org.opensaml.saml.saml2.core.Subject
    create(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.SubjectType aInternalObject)
    Method to create SubjectType.
    org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.SubjectType
    create(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 list SubjectConfirmations of the SubjectConfirmation to be build. Methode um eine liste von SubjectConfirmation dem SubjectConfirmation hinzuzufügen.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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: SubjectBuilder
      Method to add a SubjectConfirmation to the Subject to be build.
      Methode um ein SubjectConfirmation dem zu buildenden Subject hinzuzufügen.
      Specified by:
      addSubjectConfirmations in interface SubjectBuilder
      Parameters:
      aSubjectConfirmation -
      a List of SubjectConfirmation to be set
      eine List von SubjectConfirmation die gesetzt werden soll
      Returns:
      the actual instance of this builder
      die aktuelle Instanz des Builders
    • create

      public org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.SubjectType create()
      Description copied from interface: SimpleBuilder
      Creates a concrete instance of T with setted params.
      Erstellt die konkrete Instanz von T mit den gesetzten Parametern.
      Specified by:
      create in interface SimpleBuilder<org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.SubjectType>
      Returns:
      a new instance of T with the params set
      eine 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: SecurityObjectBuilder
      Method to create an instance of type T.
      Methode um eine Instanc des Typs T zu erstellen.
      Specified by:
      create in interface SecurityObjectBuilder<org.opensaml.saml.saml2.core.Subject,org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.SubjectType>
      Parameters:
      aInternalObject -
      the internal wrapped object of type T
      das Innere, gewrappte Object vom Typ T
      Returns:
      the Object ot the type U
      the instance of type U
      die 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

      public SubjectBuilder nameIDFormat(String aNameIDFormat)
      Description copied from interface: SubjectBuilder
      Builds the NameID.Format on the Subject.
      Bildet das NameID.Format im Subject.
      Specified by:
      nameIDFormat in interface SubjectBuilder
      Parameters:
      aNameIDFormat -
      the NameID.Format to be set
      das NameID.Format welches gesetzt werden soll
      Returns:
      the actual instance of this builder
      die aktuelle Instanz des Builders
    • nameIDNameQualifier

      public SubjectBuilder nameIDNameQualifier(String aNameIDNameQualifier)
      Description copied from interface: SubjectBuilder
      Builds the NameID.NameQualifier on the Subject.
      Bildet das NameID.NameQualifier im Subject.
      Specified by:
      nameIDNameQualifier in interface SubjectBuilder
      Parameters:
      aNameIDNameQualifier -
      the NameID.NameQualifier to be set
      das NameID.NameQualifier welches gesetzt werden soll
      Returns:
      the actual instance of this builder
      die aktuelle Instanz des Builders
    • nameIDValue

      public SubjectBuilder nameIDValue(String aNameIDValue)
      Builds the NameID.Value on the Subject.
      Bildet das NameID.Value im Subject.
      Specified by:
      nameIDValue in interface SubjectBuilder
      Parameters:
      aNameIDValue -
      the NameID.Value to be set
      das NameID.Value welches gesetzt werden soll
      Returns:
      the actual instance of this builder
      die 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: SubjectBuilder
      Method to set a list SubjectConfirmations of the SubjectConfirmation to be build.
      Methode um eine liste von SubjectConfirmation dem SubjectConfirmation hinzuzufügen.
      Specified by:
      subjectConfirmations in interface SubjectBuilder
      Parameters:
      aSubjectConfirmations -
      a List of SubjectConfirmation to be set
      eine List von SubjectConfirmation die gesetzt werden soll
      Returns:
      the actual instance of this builder
      die aktuelle Instanz des Builders