Federated repositories provides a file registry. Use the commands in the FileRegistryCommands command group to administer the file registry using the wsadmin tool.
The addFileRegistryAccount command adds an account to the file registry. You must save your configuration changes after running this command to save the new account to the master repository.
Target object
NoneRequired parameters
Optional parameters
Return value
'CWWIM4544I Account newAcct(uid=newAcct,o=defaultWIMFileBasedRealm) is stored in the file registry in the temporary workspace. You must use the "$AdminConfig save" command to save it in the master repository.'
Batch mode example usage
AdminTask.addFileRegistryAccount('-userId newAcct -password new22password')
Interactive mode example usage
AdminTask.addFileRegistryAccount(['-userId', 'newAcct', '-password', 'new22password'])
The changeFileRegistryAccountPassword changes the password for the file registry account.
Target object
None.Required parameters
Optional parameters
Return value
'CWWIM4545I The password is changed for newAcct(uid=newAcct,o=defaultWIMFileBasedRealm) in the file registry in the temporary workspace. You must use the "$AdminConfig save" command to save it in the master repository.'
Batch mode example usage
AdminTask.changeFileRegistryAccountPassword('-userId newAcct -password newPassword -uniqueName uid=newAcct,o=defaultWIMFileBasedRealm')
Interactive mode example usage
AdminTask.changeFileRegistryAccountPassword(['-userId', 'newAcct', '-password', 'newPassword', '-uniqueName', 'uid=newAcct,o=defaultWIMFileBasedRealm'])