public class AuthenticationBlockAssertionBuilder extends AuthenticationAssertionBuilder implements at.gv.egovernment.moa.util.Constants
<saml:Assertion>
to be included in a <CreateXMLSignatureResponse>.| Modifier and Type | Field and Description |
|---|---|
static int |
NUM_OF_SAML_ATTRIBUTES
The number of SAML attributes included in this AUTH-Block (without the extended SAML attributes).
|
NL, 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 |
|---|
AuthenticationBlockAssertionBuilder()
Constructor for AuthenticationBlockAssertionBuilder.
|
| Modifier and Type | Method and Description |
|---|---|
String |
buildAuthBlock(String issuer,
String issueInstant,
String authURL,
String target,
String targetFriendlyName,
String identityLinkValue,
String identityLinkType,
String oaURL,
String gebDat,
List extendedSAMLAttributes,
AuthenticationSession session)
Builds the authentication block
<saml:Assertion> |
String |
buildAuthBlockForeignID(String issuer,
String issueInstant,
String authURL,
String target,
String identityLinkValue,
String identityLinkType,
String oaURL,
String gebDat,
List extendedSAMLAttributes,
AuthenticationSession session)
Builds the authentication block
<saml:Assertion> |
static String |
xmlToString(Node node) |
buildExtendedSAMLAttributespublic static final int NUM_OF_SAML_ATTRIBUTES
public AuthenticationBlockAssertionBuilder()
public String buildAuthBlock(String issuer, String issueInstant, String authURL, String target, String targetFriendlyName, String identityLinkValue, String identityLinkType, String oaURL, String gebDat, List extendedSAMLAttributes, AuthenticationSession session) throws BuildException
<saml:Assertion>issuer - authentication block issuer; "GivenName FamilyName"issueInstant - current timestampauthURL - URL of MOA-ID authentication componenttarget - "Geschäftsbereich"; maybe null if the application
is a business applicationidentityLinkValue - the content of the <pr:Value>
child element of the <pr:Identification>
element derived from the Identitylink; this is the
value of the wbPK;
maybe null if the application is a public serviceidentityLinkType - the content of the <pr:Type>
child element of the <pr:Identification>
element derived from the Identitylink; this includes the
URN prefix and the identification number of the business
application used as input for wbPK computation;
maybe null if the application is a public serviceoaURL - public URL of online application requestedgebDat - The date of birth from the identity link.extendedSAMLAttributes - The SAML attributes to be appended to the AUTHBlock.<saml:Assertion> builtBuildException - If an error occurs on serializing an extended SAML attribute
to be appended to the AUTH-Block.public String buildAuthBlockForeignID(String issuer, String issueInstant, String authURL, String target, String identityLinkValue, String identityLinkType, String oaURL, String gebDat, List extendedSAMLAttributes, AuthenticationSession session) throws BuildException
<saml:Assertion>issuer - authentication block issuer; "GivenName FamilyName"issueInstant - current timestampauthURL - URL of MOA-ID authentication componenttarget - "Geschäftsbereich"; maybe null if the application
is a business applicationidentityLinkValue - the content of the <pr:Value>
child element of the <pr:Identification>
element derived from the Identitylink; this is the
value of the wbPK;
maybe null if the application is a public serviceidentityLinkType - the content of the <pr:Type>
child element of the <pr:Identification>
element derived from the Identitylink; this includes the
URN prefix and the identification number of the business
application used as input for wbPK computation;
maybe null if the application is a public serviceoaURL - public URL of online application requestedgebDat - The date of birth from the identity link.extendedSAMLAttributes - The SAML attributes to be appended to the AUTHBlock.<saml:Assertion> builtBuildException - If an error occurs on serializing an extended SAML attribute
to be appended to the AUTH-Block.Copyright © 2016. All Rights Reserved.