How to restore WebSphere Portal back to the out-of-the-box security configuration
Sometimes you may encounter a problem when you configure IBM WebSphere Portal security (standalone or federated). This problem can cause the system configuration files to be in an inconsistent state. Can you revert back to the original file registry configuration if the security task fails?
It is now possible to revert back to the out-of-the-box security configuration for WebSphere Portal 220.127.116.11. You must populate the wkplc.properties file with the parameters stated below and then run the wp-restore-default-repository-configuration task.
The wp-restore-default-repository-configuration task allows you to return to the default VMM setup with a federated file repository. The task will create a new realm, delete all existing repositories, and configure a file repository in VMM. The file repository itself must exist (fileRepository.xml) before calling this task.
A new user and a new user group will be created and set to the WebSphere Portal and WAS administrators.
If you want the admin user to be added to the admin group, this must be done manually after restarting the portal by callingthe wp-restore-default-repository-add-group-member task. This task will use the admin user and group set for wp-restore-default-repository-configuration in the wkplc.properties file.