IdMgrConfig command group for the AdminTask object
You can use the Jython or Jacl scripting languages to configure the virtual member manager with the wsadmin tool. The commands and parameters in the IdMgrConfig group can be used to create and manage your entity type configuration. The IdMgrConfig command group for the AdminTask object includes the following commands:
- deleteIdMgrSupportedEntityType
- getIdMgrSupportedEntityType
- listIdMgrSupportedEntityTypes
- resetIdMgrConfig
- showIdMgrConfig
- updateIdMgrLDAPBindInfo
- updateIdMgrSupportedEntityType
deleteIdMgrSupportedEntityType
The deleteIdMgrSupportedEntityType command deletes the supported entity type configuration specified.
Parameters and return values
- -name
- The name of the supported entity type. The value of this parameter must be one of the supported entity types. (String, required)
Examples
Batch mode example usage:
- Use Jacl:
$AdminTask deleteIdMgrSupportedEntityType {-name entity1}
- Use Jython string:
AdminTask.deleteIdMgrSupportedEntityType ('[-name entity1]')
- Use Jython list:
AdminTask.deleteIdMgrSupportedEntityType (['-name', 'entity1'])
Interactive mode example usage:
- Use Jacl:
$AdminTask deleteIdMgrSupportedEntityType {-interactive}
- Use Jython string:
AdminTask.deleteIdMgrSupportedEntityType ('[-interactive]')
- Use Jython list:
AdminTask.deleteIdMgrSupportedEntityType (['-interactive'])
getIdMgrSupportedEntityType
The getIdMgrSupportedEntityType command returns the configuration of the supported entity type specified.
Parameters and return values
- -name
- The name of the supported entity type. The value of this parameter must be one of the supported entity types. (String, required)
Examples
Batch mode example usage:
- Use Jacl:
$AdminTask getIdMgrSupportedEntityType {-name entity1}
- Use Jython string:
AdminTask.getIdMgrSupportedEntityType ('[-name entity1]')
- Use Jython list:
AdminTask.getIdMgrSupportedEntityType (['-name', 'entity1'])
Interactive mode example usage:
- Use Jacl:
$AdminTask getIdMgrSupportedEntityType {-interactive}
- Use Jython string:
AdminTask.getIdMgrSupportedEntityType ('[-interactive]')
- Use Jython list:
AdminTask.getIdMgrSupportedEntityType (['-interactive'])
listIdMgrSupportedEntityTypes
The listIdMgrSupportedEntityTypes command lists all of the supported entity types that are configured.
Parameters and return values
- Parameters: None
- Returns: A list that contains the names of the supported entity types.
Examples
Batch mode example usage:
- Use Jacl:
$AdminTask listIdMgrSupportedEntityTypes
- Use Jython string:
AdminTask.listIdMgrSupportedEntityTypes()
- Use Jython list:
AdminTask.listIdMgrSupportedEntityTypes()
Interactive mode example usage:
- Use Jacl:
$AdminTask listIdMgrSupportedEntityTypes {-interactive}
- Use Jython string:
AdminTask.listIdMgrSupportedEntityTypes ('[-interactive]')
- Use Jython list:
AdminTask.listIdMgrSupportedEntityTypes (['-interactive'])
resetIdMgrConfig
The resetIdMgrConfig command resets the current configuration to the last configuration that was saved.
Parameters and return values
- Parameters: None
- Returns: None
Examples
Batch mode example usage:
- Use Jacl:
$AdminTask resetIdMgrConfig
- Use Jython string:
AdminTask.resetIdMgrConfig()
- Use Jython list:
AdminTask.resetIdMgrConfig()
Interactive mode example usage:
- Use Jacl:
$AdminTask resetIdMgrConfig {-interactive}
- Use Jython string:
AdminTask.resetIdMgrConfig ('[-interactive]')
- Use Jython list:
AdminTask.resetIdMgrConfig (['-interactive'])
showIdMgrConfig
The showIdMgrConfig command returns the current configuration XML in string format.
Parameters and return values
- Parameters: None
- Returns: None
Examples
Batch mode example usage:
- Use Jacl:
$AdminTask showIdMgrConfig
- Use Jython string:
AdminTask.showIdMgrConfig()
- Use Jython list:
AdminTask.showIdMgrConfig()
Interactive mode example usage:
- Use Jacl:
$AdminTask showIdMgrConfig {-interactive}
- Use Jython string:
AdminTask.showIdMgrConfig ('[-interactive]')
- Use Jython list:
AdminTask.showIdMgrConfig (['-interactive'])
updateIdMgrLDAPBindInfo
The updateIdMgrLDAPBindInfo command updates the LDAP password under the federated repository. The change is also reflected in the wimconfig.xml file.
Parameters and return values
- -id
- The ID of the repository. (String, required)
Examples
Batch mode example usage:
- Use Jython:
AdminTask.updateIdMgrLDAPBindInfo('[-id id1 -bindDN cn=root -bindPassword myPassword22]')
- Use Jython list:
AdminTask.updateIdMgrLDAPBindInfo(['-id id1 -bindDN cn=root -bindPassword myPassword22'])
- Use Jacl:
$AdminTask updateIdMgrLDAPBindInfo {-id id1 -bindDN cn=root -bindPassword myPassword22}
Interactive mode example usage:
- Use Jython:
AdminTask.updateIdMgrLDAPBindInfo(['-interactive'])
- Use Jacl:
$AdminTask updateIdMgrLDAPBindInfo {-interactive}
updateIdMgrSupportedEntityType
The updateIdMgrSupportedEntityType command updates the configuration specified for a supported entity type.
Parameters and return values
- -name
- The name of the supported entity type. The value of this parameter must be one of the supported entity types. (String, required)
- -defaultParent
- The default parent node for the supported entity type. (String, optional)
- -rdnProperties
- The RDN attribute name for the supported entity type in the entity domain name. To reset all the values of the rdnProperties parameter, specify a blank string (""). (String, optional)
Examples
Batch mode example usage:
- Use Jacl:
$AdminTask updateIdMgrSupportedEntityType {-name entity1}
- Use Jython string:
AdminTask.updateIdMgrSupportedEntityType ('[-name entity1]')
- Use Jython list:
AdminTask.updateIdMgrSupportedEntityType (['-name', 'entity1'])
Interactive mode example usage:
- Use Jacl:
$AdminTask updateIdMgrSupportedEntityType {-interactive}
- Use Jython string:
AdminTask.updateIdMgrSupportedEntityType ('[-interactive]')
- Use Jython list:
AdminTask.updateIdMgrSupportedEntityType (['-interactive'])
Related tasks
Use the AdminTask object for scripted administration
Related Reference
Commands for the AdminTask object
IdMgrRepositoryConfig command group for the AdminTask object
IdMgrRealmConfig command group for the AdminTask object
Reference topic