Network Deployment (Distributed operating systems), v8.0 > Reference > Commands (wsadmin scripting)


FileRegistryCommands command group

Federated repositories provides a file registry. Use the commands in the FileRegistryCommands command group to administer the file registry using wsadmin.

If the Use global security settings option is selected for the user realm or the Global federated repositories option is selected as the realm type for the specified domain, the user and group management commands are executed on the federated repository of the admin domain. For example, if you run the createUser command for the specified domain, the user is created in the admin domain. However, configuration changes performed on the domain are applied to the security domain-specific configuration.

Use the following commands in the FileRegistryCommands group to modify the federated repository file registry:



addFileRegistryAccount

Add an account to the file registry. After running, save changes to master repository.


Required parameters

-userId
ID of the user to add to the file registry. (String, required)
-password
Password of the user to add to the file registry. (String, required)


Optional parameters

-securityDomainName
Name that uniquely identifies the security domain. If not specified, uses the global federated repository. (String, optional)
-parent
Parent of the entity. (String, optional)


Return value

Message indicating success or failure:


Batch example...


Interactive example...



changeFileRegistryAccountPassword command

Change the the password for the file registry account.


Required parameters

-userId
User ID of interest. (String, required)
-password
New password. (String, required)


Optional parameters

-securityDomainName
Name that uniquely identifies the security domain. If not specified, uses the global federated repository. (String, optional)
-uniqueName
Fully-qualified unique name of the administrator. (String, optional)


Return value

Message indicating success or failure:

'CWWIM4545I The password is changed for newAcct(uid=newAcct,o=defaultWIMFileBasedRealm)
in the file registry in the temporary workspace. Use the "$AdminConfig save"
command to save it in the master repository.'


Batch example...


Interactive example...

Federated repositories
Configure a single built-in, file-based repository in a new configuration under federated repositories using wsadmin
Set up an entry mapping repository, a property extension repository, or a custom registry database repository using wsadmin
IdMgrConfig command group
IdMgrRepositoryConfig command group

+

Search Tips   |   Advanced Search