Class AuthnStatementBuilderImpl

java.lang.Object
org.projecthusky.xua.saml2.impl.AuthnStatementBuilderImpl
All Implemented Interfaces:
SecurityObjectBuilder<org.opensaml.saml.saml2.core.AuthnStatement,org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AuthnStatementType>, AuthnStatementBuilder, SimpleBuilder<org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AuthnStatementType>

public class AuthnStatementBuilderImpl extends Object implements AuthnStatementBuilder, SecurityObjectBuilder<org.opensaml.saml.saml2.core.AuthnStatement,org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AuthnStatementType>
Class implementing the corresponding interface for AuthnStatement building.
Die Klasse implementiert das entsprechende Interface um AuthnStatements bilden zu können.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    authnContextClassRef(String aAuthnContextClassRef)
    Method to set the AuthnContextClassRef as Calendar. Methode um die AuthnContextClassRef as Calendar.
    authnInstant(Calendar aAuthnInstant)
    Method to set the AuthnInstant as Calendar. Methode um die AuthnInstant as Calendar.
    org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AuthnStatementType
    Creates a concrete instance of T with setted params. Erstellt die konkrete Instanz von T mit den gesetzten Parametern.
    org.opensaml.saml.saml2.core.AuthnStatement
    create(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AuthnStatementType aAuthnStatement)
    Method to create opensaml authntatement.
    org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AuthnStatementType
    create(org.opensaml.saml.saml2.core.AuthnStatement aAuthnStatement)
    Method to create an instance of type T. Methode um eine Instanc des Typs T zu erstellen.
    sessionIndex(String aSessionIndex)
    Method to set the SessionIndex as Calendar. Methode um die SessionIndex as Calendar.
    sessionNotOnOrAfter(Calendar aSessionNotOnOrAfter)
    Method to set the SessionNotOnOrAfter as Calendar. Methode um die SessionNotOnOrAfter als Calendar zu erhalten.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • AuthnStatementBuilderImpl

      public AuthnStatementBuilderImpl()
      Default constructor
  • Method Details

    • authnContextClassRef

      public AuthnStatementBuilder authnContextClassRef(String aAuthnContextClassRef)
      Description copied from interface: AuthnStatementBuilder
      Method to set the AuthnContextClassRef as Calendar.
      Methode um die AuthnContextClassRef as Calendar.
      Specified by:
      authnContextClassRef in interface AuthnStatementBuilder
      Parameters:
      aAuthnContextClassRef -
      the AuthnContextClassRef string to be set.
      der AuthnContextClassRef String der gesetzt werden soll.
      Returns:
      the actual instance of this builder
      die aktuelle Instanz des Builders
    • authnInstant

      public AuthnStatementBuilder authnInstant(Calendar aAuthnInstant)
      Description copied from interface: AuthnStatementBuilder
      Method to set the AuthnInstant as Calendar.
      Methode um die AuthnInstant as Calendar.
      Specified by:
      authnInstant in interface AuthnStatementBuilder
      Parameters:
      aAuthnInstant -
      The Calendar value to be set as AuthnInstant.
      Der Calendar Wert der als AuthnInstant 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.AuthnStatementType 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.AuthnStatementType>
      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.AuthnStatementType create(org.opensaml.saml.saml2.core.AuthnStatement aAuthnStatement)
      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.AuthnStatement,org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AuthnStatementType>
      Parameters:
      aAuthnStatement -
      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.AuthnStatement create(org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AuthnStatementType aAuthnStatement)
      Method to create opensaml authntatement.
      Parameters:
      aAuthnStatement - the authnstatement to be converted
      Returns:
      the opensaml rfepresentation of authnstatement
    • sessionIndex

      public AuthnStatementBuilder sessionIndex(String aSessionIndex)
      Description copied from interface: AuthnStatementBuilder
      Method to set the SessionIndex as Calendar.
      Methode um die SessionIndex as Calendar.
      Specified by:
      sessionIndex in interface AuthnStatementBuilder
      Parameters:
      aSessionIndex -
      the sessionIndex string to be set.
      der SessionIndex String der gesetzt werden soll.
      Returns:
      the actual instance of this builder
      die aktuelle Instanz des Builders
    • sessionNotOnOrAfter

      public AuthnStatementBuilder sessionNotOnOrAfter(Calendar aSessionNotOnOrAfter)
      Description copied from interface: AuthnStatementBuilder
      Method to set the SessionNotOnOrAfter as Calendar.
      Methode um die SessionNotOnOrAfter als Calendar zu erhalten.
      Specified by:
      sessionNotOnOrAfter in interface AuthnStatementBuilder
      Parameters:
      aSessionNotOnOrAfter -
      the SessionNotOnOrAfter as Calendar to be set
      der SessionNotOnOrAfter als Calendar der gesetzt werden soll
      Returns:
      the actual instance of this builder
      die aktuelle Instanz des Builders