public class AuthenticationDataAssertionBuilder extends AuthenticationAssertionBuilder implements at.gv.egovernment.moa.util.Constants
<saml:Assertion>
to be provided by the MOA ID Auth component.SAML_ATTRIBUTE, SAML_ATTRIBUTE_NO_NAMESPACEALL_SCHEMA_LOCATIONS, C14N_URI, C14N_WITH_COMMENTS_URI, DSIG_EC_NS_URI, DSIG_EC_PREFIX, DSIG_EC_SCHEMA_LOCATION, DSIG_FILTER2_NS_URI, DSIG_FILTER2_PREFIX, DSIG_FILTER2_SCHEMA_LOCATION, DSIG_NS_URI, DSIG_PREFIX, DSIG_SCHEMA_LOCATION, ECDSA_NS_URI, ECDSA_PREFIX, ECDSA_SCHEMA_LOCATION, EXC_C14N_URI, EXC_C14N_WITH_COMMENTS_URI, INFOBOXIDENTIFIER_MANDATES, MD_NS_URI, MD_PREFIX, MDP_NS_URI, MDP_PREFIX, MOA_CONFIG_NS_URI, MOA_CONFIG_PREFIX, MOA_CONFIG_SCHEMA_LOCATION, MOA_ID_CONFIG_NS_URI, MOA_ID_CONFIG_PREFIX, MOA_ID_CONFIG_SCHEMA_LOCATION, MOA_NS_URI, MOA_PREFIX, MOA_SCHEMA_LOCATION, MOA_SPSS_CREATE_XML_REQUEST, MOA_SPSS_VERIFY_XML_REQUEST, MVV_NS_URI, MVV_PREFIX, nSMap, PD_NS_URI, PD_PREFIX, PD_SCHEMA_LOCATION, SAML_NS_URI, SAML_PREFIX, SAML_SCHEMA_LOCATION, SAMLP_NS_URI, SAMLP_PREFIX, SAMLP_SCHEMA_LOCATION, SCHEMA_ROOT, SHA1_URI, SL_MANIFEST_TYPE_URI, SL10_NS_URI, SL10_PREFIX, SL10_SCHEMA_LOCATION, SL11_NS_URI, SL11_PREFIX, SL11_SCHEMA_LOCATION, SL12_NS_URI, SL12_PREFIX, SL12_SCHEMA_LOCATION, STB_NS_URI, STB_PREFIX, URN_PREFIX, URN_PREFIX_BASEID, URN_PREFIX_BPK, URN_PREFIX_CDID, URN_PREFIX_HPI, URN_PREFIX_WBPK, WRR_NS_URI, WRR_PREFIX, XADES_1_1_1_NS_URI, XADES_1_1_1_SCHEMA_LOCATION, XADES_1_2_2_NS_URI, XADES_1_2_2_SCHEMA_LOCATION, XADES_1_3_2_NS_URI, XADES_1_3_2_SCHEMA_LOCATION, XADES_1_4_1_NS_URI, XADES_1_4_1_SCHEMA_LOCATION, XML_NS_URI, XML_PREFIX, XML_SCHEMA_LOCATION, XMLLPR_NS_URI, XMLLPR_SCHEMA_LOCATION, XMLNS_NS_URI, XSI_NS_URI, XSI_PREFIX, XSI_SCHEMA_LOCATION, XSLT_NS_URI, XSLT_PREFIX| Constructor and Description |
|---|
AuthenticationDataAssertionBuilder()
Constructor for AuthenticationDataAssertionBuilder.
|
| Modifier and Type | Method and Description |
|---|---|
String |
build(AuthenticationData authData,
String xmlPersonData,
String xmlAuthBlock,
String xmlIdentityLink,
String bkuURL,
String signerCertificateBase64,
boolean businessService,
List extendedSAMLAttributes)
Builds the authentication data
<saml:Assertion>. |
String |
buildMandate(AuthenticationData authData,
String xmlPersonData,
String xmlMandateData,
String xmlAuthBlock,
String xmlIdentityLink,
String bkuURL,
String signerCertificateBase64,
boolean businessService,
String sourceID,
List extendedSAMLAttributes)
Builds the authentication data
<saml:Assertion>. |
buildExtendedSAMLAttributespublic AuthenticationDataAssertionBuilder()
public String build(AuthenticationData authData, String xmlPersonData, String xmlAuthBlock, String xmlIdentityLink, String bkuURL, String signerCertificateBase64, boolean businessService, List extendedSAMLAttributes) throws BuildException
<saml:Assertion>.authData - the AuthenticationData to build the
<saml:Assertion> fromxmlPersonData - lt;pr:Person> element as a StringxmlAuthBlock - authentication block to be included in a
lt;saml:SubjectConfirmationData> element; may include
the "Stammzahl" or not; may be emptyxmlIdentityLink - the IdentityLinksignerCertificateBase64 - Base64 encoded certificate of the signer. Maybe
an empty string if the signer certificate should not be provided.
Will be ignored if the businessService parameter is
set to false.businessService - true if the online application is a
business service, otherwise false<saml:Assertion>BuildException - if an error occurs during the build processpublic String buildMandate(AuthenticationData authData, String xmlPersonData, String xmlMandateData, String xmlAuthBlock, String xmlIdentityLink, String bkuURL, String signerCertificateBase64, boolean businessService, String sourceID, List extendedSAMLAttributes) throws BuildException
<saml:Assertion>.authData - the AuthenticationData to build the
<saml:Assertion> fromxmlPersonData - lt;pr:Person> element as a StringxmlAuthBlock - authentication block to be included in a
lt;saml:SubjectConfirmationData> element; may include
the "Stammzahl" or not; may be emptyxmlIdentityLink - the IdentityLinksignerCertificateBase64 - Base64 encoded certificate of the signer. Maybe
an empty string if the signer certificate should not be provided.
Will be ignored if the businessService parameter is
set to false.businessService - true if the online application is a
business service, otherwise false<saml:Assertion>BuildException - if an error occurs during the build processCopyright © 2016. All Rights Reserved.