public class ParepValidator extends Object implements InfoboxValidator
| Modifier and Type | Field and Description |
|---|---|
static String |
EXT_SAML_MANDATE_CB_BASE_ID
register and register number for non physical persons - the domain identifier for business applications
|
static String |
EXT_SAML_MANDATE_DOB |
static String |
EXT_SAML_MANDATE_NAME |
static String |
EXT_SAML_MANDATE_OID |
static String |
EXT_SAML_MANDATE_OIDTEXTUALDESCRIPTION |
static String |
EXT_SAML_MANDATE_RAW
Names of the produced SAML-attributes.
|
static String |
EXT_SAML_MANDATE_REPRESENTATIONTEXT |
static String |
EXT_SAML_MANDATE_REPRESENTATIONTYPE |
static String |
EXT_SAML_MANDATE_WBPK |
static String |
PAREP_INPUT_PROCESSOR
Default class to gather remaining mandator data.
|
static String |
PAREP_INPUT_TEMPLATE
Default template to gather remaining mandator data.
|
static String |
STANDARD_REPRESENTATION_TEXT
kind of representation text in AUTH block
|
| Constructor and Description |
|---|
ParepValidator() |
| Modifier and Type | Method and Description |
|---|---|
void |
Configure(Element configElem)
Parses the XML configuration element and creates the validators configuration
Use this function if you want to preconfigure the validator.
|
static Element |
extractPrimaryToken(List infoBoxTokens)
provides the primary infobox token of the given list.
|
ExtendedSAMLAttribute[] |
getExtendedSamlAttributes() |
String |
getForm()
form for user interaction for intermediate processing of infobox validation
|
InfoboxValidationResult |
validate(Element samlAssertion)
This method is used to do post processing after signing the auth block.
|
InfoboxValidationResult |
validate(InfoboxValidatorParams params)
This method validates an InfoboxReadResponse.
|
InfoboxValidationResult |
validate(Map parameters)
This method is used to do intermediate processing before signing the auth block.
|
public static final String PAREP_INPUT_PROCESSOR
public static final String PAREP_INPUT_TEMPLATE
public static final String STANDARD_REPRESENTATION_TEXT
public static final String EXT_SAML_MANDATE_RAW
public static final String EXT_SAML_MANDATE_NAME
public static final String EXT_SAML_MANDATE_DOB
public static final String EXT_SAML_MANDATE_WBPK
public static final String EXT_SAML_MANDATE_REPRESENTATIONTYPE
public static final String EXT_SAML_MANDATE_OIDTEXTUALDESCRIPTION
public static final String EXT_SAML_MANDATE_OID
public static final String EXT_SAML_MANDATE_REPRESENTATIONTEXT
public static final String EXT_SAML_MANDATE_CB_BASE_ID
public void Configure(Element configElem) throws ConfigurationException
configElem - the XML configuration element to parse.ConfigurationException - if an error occurs during the configuration processpublic InfoboxValidationResult validate(InfoboxValidatorParams params) throws ValidateException
InfoboxValidatorinfoboxReadResponse
according to the type specific rules and guidelines of the underlying
application.validate in interface InfoboxValidatorparams - Parameters needed by the validator.ValidateException - If an error occurs on validating the
InfoboxReadResponse.public InfoboxValidationResult validate(Map parameters) throws ValidateException
InfoboxValidatorInfoboxValidationResult is necessary.
If more input is needed, the validator can build a new form and it is then shown
to the citizen.
The implementation of InfoboxValidator must hold its necessary
data and configuration internally, if this method is called - the class is
reused at this callvalidate in interface InfoboxValidatorparameters - the parameters got returned by the input fieldsValidateException - If an error occurs on validating the
InfoboxReadResponse.public InfoboxValidationResult validate(Element samlAssertion) throws ValidateException
InfoboxValidatorinfoboxReadResponsesamlAssertion if needed.
The implementation of InfoboxValidator must hold its necessary
data and configuration internally, if this method is called - the class is
reused at this callvalidate in interface InfoboxValidatorsamlAssertion - the SAML assertion needed by the validatorValidateException - If an error occurs on validating the
InfoboxReadResponse.public static Element extractPrimaryToken(List infoBoxTokens) throws ValidateException
infoBoxTokens - the list of infobox tokens.ValidateException - if an error occurs or list is not suitable.public ExtendedSAMLAttribute[] getExtendedSamlAttributes()
public String getForm()
InfoboxValidatorgetForm in interface InfoboxValidatorCopyright © 2016. All Rights Reserved.