Bookshelf Home | Contents | Index | PDF |
Implementation Guide for Oracle Self-Service E-Billing > Customizing User Management > Customizing Enrollment ValidationYou can configure the validation code generator and use the validation API to customize enrollment validation. Configuring the Validation Code GeneratorThe characters in the verification code and its expiration time are configurable. You can configure the following constraints in the security.xma.xml file, found in the EDX_HOME
Using Enrollment Validation APIThe ISecurityProfileManager API provides the method checkValidationCode for validation code and security profile ID validation: ISecurityProfileManager spManager = UserFactory.getSecurityProfileManager(); secProfile = spManager.checkValidationCode(secProfileId, validationCode); If validate is expired, throw ValidationCodeExpireException ISecurityXMAService provide method getValidationCode() to get a validation code. LookupService lookUp = LookupServiceFactory.getInstance(); ISecurityXMAService securityXMAService = (ISecurityXMAService) lookUp.getModule("security"); IValidationCode = securityXMAService.createValidationCodeManager().getValidationCode(); |
Implementation Guide for Oracle Self-Service E-Billing | Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |