Package org.projecthusky.xua.saml2.impl
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 -
Method Summary
Modifier and TypeMethodDescriptionauthnContextClassRef
(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
create()
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.
-
Constructor Details
-
AuthnStatementBuilderImpl
public AuthnStatementBuilderImpl()Default constructor
-
-
Method Details
-
authnContextClassRef
Description copied from interface:AuthnStatementBuilder
Method to set the AuthnContextClassRef as Calendar.Methode um die AuthnContextClassRef as Calendar.- Specified by:
authnContextClassRef
in interfaceAuthnStatementBuilder
- Parameters:
aAuthnContextClassRef
-the AuthnContextClassRef string to be set.der AuthnContextClassRef String der gesetzt werden soll.- Returns:
- the actual instance of this builderdie aktuelle Instanz des Builders
-
authnInstant
Description copied from interface:AuthnStatementBuilder
Method to set the AuthnInstant as Calendar.Methode um die AuthnInstant as Calendar.- Specified by:
authnInstant
in interfaceAuthnStatementBuilder
- 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 builderdie 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 interfaceSimpleBuilder<org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AuthnStatementType>
- 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.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 interfaceSecurityObjectBuilder<org.opensaml.saml.saml2.core.AuthnStatement,
org.openehealth.ipf.commons.ihe.xacml20.stub.saml20.assertion.AuthnStatementType> - Parameters:
aAuthnStatement
-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.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
Description copied from interface:AuthnStatementBuilder
Method to set the SessionIndex as Calendar.Methode um die SessionIndex as Calendar.- Specified by:
sessionIndex
in interfaceAuthnStatementBuilder
- Parameters:
aSessionIndex
-the sessionIndex string to be set.der SessionIndex String der gesetzt werden soll.- Returns:
- the actual instance of this builderdie aktuelle Instanz des Builders
-
sessionNotOnOrAfter
Description copied from interface:AuthnStatementBuilder
Method to set the SessionNotOnOrAfter as Calendar.Methode um die SessionNotOnOrAfter als Calendar zu erhalten.- Specified by:
sessionNotOnOrAfter
in interfaceAuthnStatementBuilder
- Parameters:
aSessionNotOnOrAfter
-the SessionNotOnOrAfter as Calendar to be setder SessionNotOnOrAfter als Calendar der gesetzt werden soll- Returns:
- the actual instance of this builderdie aktuelle Instanz des Builders
-