...
Table of Contents | ||
---|---|---|
|
com.ubisecure.customerid.logic.validators.CombinedEmailValidator
Performs a unique attribute and email format validation to given attribute.
Configuration parameters | Description | Mandatory | Multivalue |
---|---|---|---|
class | com.ubisecure.customerid.logic.validators.CombinedEmailValidator | Yes | No |
errorKey | Defines a language resource key representing error message that should be shown to user. | No | No |
com.ubisecure.customerid.logic.validators.FixedSSNValidator
Validates if the input value is a valid Finnish personal identification number.
Configuration parameters | Description | Mandatory | Multivalue |
---|---|---|---|
class | com.ubisecure.customerid.logic.validators.FixedSSNValidator | Yes | No |
errorKey | Defines a language resource key representing error message that should be shown to user. | No | No |
com.ubisecure.customerid.logic.validators.FixedCompanyIdValidator
Validates if the input value is a valid Finnish company identifier.
Configuration parameters | Description | Mandatory | Multivalue |
---|---|---|---|
class | com.ubisecure.customerid.logic.validators.FixedCompanyIdValidator | Yes | No |
com.ubisecure.customerid.logic.validators.RealnameValidator
Validates if input can be considered a human first name or last name.
Configuration parameters | Description | Mandatory | Multivalue |
---|---|---|---|
class | com.ubisecure.customerid.logic.validators.RealnameValidator | Yes | No |
errorKey | Defines a language resource key representing error message that should be shown to user. | No | No |
com.ubisecure.customerid.logic.validators.RegexpValidator
Validates if input matches defined regular expression.
Configuration parameters | Description | Mandatory | Multivalue |
---|---|---|---|
class | com.ubisecure.customerid.logic.validators.RegexpValidator | Yes | No |
pattern | Regular expression to validate against | Yes | No |
errorKey | Defines a language resource key representing error message that should be shown to user. | No | No |
com.ubisecure.customerid.logic.validators.RequiredValidator
Validates if the input has been entered.
Configuration parameters | Description | Mandatory | Multivalue |
---|---|---|---|
class | com.ubisecure.customerid.logic.validators.RequiredValidator | Yes | No |
errorKey | Defines a language resource key representing error message that should be shown to user. | No | No |
com.ubisecure.customerid.logic.validators.UniqueAttributeValidator
Fails validation if a user exists in database with attribute defined by the configuration parameter attrName. However if there is a match whose database id matches the user who is registering, the validation will succeed.
Configuration parameters | Description | Mandatory | Multivalue |
---|---|---|---|
class | com.ubisecure.customerid.logic.validators.UniqueAttributeValidator | Yes | No |
attrName | The attribute name that uniquely identifies a user | Yes | No |
errorKey | Defines a language resource key representing error message that should be shown to user. | No | No |
com.ubisecure.customerid.logic.validators.UniqueEmailValidator
Fails validation if a user exists in database with the entered email address, unless the registering user matches the user in the registration (which implies that the user must be logged in).
Configuration parameters | Description | Mandatory | Multivalue |
---|---|---|---|
class | com.ubisecure.customerid.logic.validators.UniqueEmailValidator | Yes | No |
errorKey | Defines a language resource key representing error message that should be shown to user. | No | No |
com.ubisecure.customerid.logic.validators.UniqueLoginValidator
Fails validation if a user exists in database with the entered login, unless the registering user matches the user in the registration (which implies that the user must be logged in).
Configuration parameters | Description | Mandatory | Multivalue |
---|---|---|---|
class | com.ubisecure.customerid.logic.validators.UniqueLoginValidator | Yes | No |
errorKey | Defines a language resource key representing error message that should be shown to user. | No | No |
com.ubisecure.customerid.logic.validators.UsernameValidator
Reads its configuration from eidm2.properties
and validates if the input conforms to that configuration.
...