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.AuthnStatementTypecreate()Creates a concrete instance of T with setted params. Erstellt die konkrete Instanz von T mit den gesetzten Parametern.org.opensaml.saml.saml2.core.AuthnStatementcreate(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.AuthnStatementTypecreate(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:AuthnStatementBuilderMethod to set the AuthnContextClassRef as Calendar.Methode um die AuthnContextClassRef as Calendar.- Specified by:
authnContextClassRefin 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:AuthnStatementBuilderMethod to set the AuthnInstant as Calendar.Methode um die AuthnInstant as Calendar.- Specified by:
authnInstantin 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: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.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: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.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:AuthnStatementBuilderMethod to set the SessionIndex as Calendar.Methode um die SessionIndex as Calendar.- Specified by:
sessionIndexin 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:AuthnStatementBuilderMethod to set the SessionNotOnOrAfter as Calendar.Methode um die SessionNotOnOrAfter als Calendar zu erhalten.- Specified by:
sessionNotOnOrAfterin 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
-