Bookshelf Home | Contents | Index | PDF |
Implementation Guide for Oracle Self-Service E-Billing > Customizing User Management > Customizing User Security QuestionsYou can customize the security questions that appear when a user forgets his or her password. You can add, delete, or update security questions using the following methods in the IUserService API:
The following code shows an example of these methods: IUserService _usrService = EBillingServiceFactory.getUserService(); String question1 = "This is a security question 1"; long securityRequestionId = 5327; ISecurityQuestion sq1 = _usrService.addSecurityQuestionDef (question1,null,null); List<ISecurityQuestion> sqlist = _usrService.getSecurityQuestionDefLis (null,null); //Delete a question definition _usrService.deleteSecurityQuestionDef(securityRequestionId); //Update an existed question definition ISecurityQuestion sq1 = _usrService.updateSecurityQuestionDef(securityRequestionId, question1); NOTE: English is the only language supported for security questions. The locale must be NULL. |
Implementation Guide for Oracle Self-Service E-Billing | Copyright © 2014, Oracle and/or its affiliates. All rights reserved. Legal Notices. | |