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


IdMgrConfig command group

Use the Jython or Jacl scripting languages to configure the virtual member manager with wsadmin.sh. The commands and parameters in the IdMgrConfig group can be used to create and manage your entity type configuration.

The IdMgrConfig command group includes the following commands:



createIdMgrSupportedEntityType

The createIdMgrSupportedEntityType command creates a supported entity type configuration.

Parameters

-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, required)

-rdnProperties

The RDN attribute name for the supported entity type in the entity domain name.

To reset all values of the rdnProperties parameter, specify a blank string ("") (String, required)

-securityDomainName

The name that uniquely identifies the security domain. If not specified, uses the global federated repository. (String, optional)

Examples


Batch example...


Interactive example...



deleteIdMgrSupportedEntityType

The deleteIdMgrSupportedEntityType command deletes the supported entity type configuration that you specify.

Parameters

-name

The name of the supported entity type. The value of this parameter must be one of the supported entity types. (String, required)

-securityDomainName

The name that uniquely identifies the security domain. If not specified, uses the global federated repository. (String, optional)

Examples


Batch example...


Interactive example...



getIdMgrSupportedEntityType

The getIdMgrSupportedEntityType command returns the configuration of the supported entity type that you specify.

Parameters

-name

The name of the supported entity type. The value of this parameter must be one of the supported entity types. (String, required)

-securityDomainName

The name that uniquely identifies the security domain. If not specified, uses the global federated repository. (String, optional)

Examples


Batch example...


Interactive example...



isIdMgrUseGlobalSchemaForModel

The isIdMgrUseGlobalSchemaForModel command returns a boolean that indicates whether the global schema option is enabled for the data model for the specified domain in a multiple security domain environment.

Parameters

-securityDomainName

The name that uniquely identifies the security domain. (String, required)

Returns

A Boolean value that indicates whether global schema option is enabled for the data model for the specified domain.

Examples


Batch example...


Interactive example...



listIdMgrSupportedEntityTypes

The listIdMgrSupportedEntityTypes command lists all of the supported entity types that are configured.

Parameters

-securityDomainName

The name that uniquely identifies the security domain. If not specified, uses the global federated repository. (String, optional)

Returns

A list that contains the names of the supported entity types

Examples


Batch example...:


Interactive example...



listIdMgrGroupsForRoles

The listIdMgrGroupsForRoles command lists the mapping of groups to roles in federated repositories.

Parameters

-securityDomainName

The name that uniquely identifies the security domain. If not specified, uses the global federated repository. (String, optional)

Returns

A Map object that contains roleName as the key, and the value of each key is a list of uniqueNames.

Examples


Batch example...


Interactive example...



listIdMgrUsersForRoles

The listIdMgrUsersForRoles command lists the mapping of users to roles in federated repositories.

Parameters

-securityDomainName

The name that uniquely identifies the security domain. If not specified, uses the global federated repository. (String, optional)

Returns

A Map object that contains roleName as the key, and the value of each key is a list of uniqueNames.

Examples


Batch example...


Interactive example...



mapIdMgrUserToRole

The mapIdMgrUserToRole command maps a user to a specified role in federated repositories. We can map a user to only one role.

Parameters

-roleName

The name of the role. Valid values are IdMgrAdmin, IdMgrReader, or IdMgrWriter, which are the federated repositories pre-defined roles. (String, required)

-userId

The user ID or unique name of the user to whom to map the specified role. If you specify the user ID, it should correspond to a unique user in the repository. (String, required)

-securityDomainName

The name that uniquely identifies the security domain. If not specified, uses the global federated repository. (String, optional)

Examples


Batch example...


Interactive example...



mapIdMgrGroupToRole

The mapIdMgrGroupToRole command maps a group to a specified role in federated repositories. We can map a group to only one role.

Parameters

-roleName

The name of the role. Valid values are IdMgrAdmin, IdMgrReader, or IdMgrWriter, which are the federated repositories pre-defined roles. (String, required)

-groupId

The common name or unique name of the group to which you want to map the specified role. If you specify the common name, it should correspond to a unique group in the repository. Alternately, to map all logged-in users to the specified role, you can specify a special subject with the value ALLAUTHENTICATED. (String, required)

-securityDomainName

The name that uniquely identifies the security domain. If not specified, uses the global federated repository. (String, optional)

Examples


Batch example...


Interactive example...



removeIdMgrGroupsFromRole

The removeIdMgrGroupsFromRole command removes a group from a specified role in federated repositories.

Parameters

-roleName

The name of the role. Valid values are IdMgrAdmin, IdMgrReader, or IdMgrWriter, which are the federated repositories pre-defined roles. (String, required)

-groupId

The common name or unique name of the group to which you want to map the specified role. If you specify the common name, it should correspond to a unique group in the repository. Alternately, to remove the mapping of all logged-in users to the specified role, you can specify a special subject with the value ALLAUTHENTICATED. (String, required)

We can specify an asterisk (*) to remove all users mapped to the specified role.

-securityDomainName

The name that uniquely identifies the security domain. If not specified, uses the global federated repository. (String, optional)

Examples


Batch example...


Interactive example...



removeIdMgrUsersFromRole

The removeIdMgrUsersFromRole command removes a user from a specified role in federated repositories.

Parameters

-roleName

The name of the role. Valid values are IdMgrAdmin, IdMgrReader, or IdMgrWriter, which are the federated repositories pre-defined roles. (String, required)

-userId

The user ID or unique name of the user whose mapping to the specified role to remove. If you specify the user ID, it should correspond to a unique user in the repository. (String, required)

We can specify an asterisk (*) to remove all users mapped to the specified role.

-securityDomainName

The name that uniquely identifies the security domain. If not specified, uses the global federated repository. (String, optional)

Examples


Batch example...


Interactive example...



resetIdMgrConfig

The resetIdMgrConfig command resets the current configuration to the last configuration that was saved.

Parameters

-securityDomainName

The name that uniquely identifies the security domain. If not specified, uses the global federated repository. (String, optional)

Returns None.

Examples


Batch example...:


Interactive example...



setIdMgrUseGlobalSchemaForModel

The setIdMgrUseGlobalSchemaForModel command sets the global schema option for the data model in a multiple security domain environment. Global schema refers to the schema of the admin domain. Application domains that are set to use global schema share the same schema of the admin domain. Hence, if you extend the schema for an application in one domain, take into consideration how that might affect applications of other domains as they are also bound by the same schema. For example, adding a mandatory property for one application might cause other applications to fail.

Parameters

-useGlobalSchema

Whether the data model should use the global schema. Global schema refers to the schema of the admin domain. The default value of this parameter is false. (Boolean, required)

-securityDomainName

The name that uniquely identifies the security domain. (String, required)

Examples


Batch example...


Interactive example...



showIdMgrConfig

The showIdMgrConfig command returns the current configuration XML in string format.

Parameters

-file

The name of the file where to save the configuration XML string. (String, optional)

-securityDomainName

The name that uniquely identifies the security domain. If not specified, uses the global federated repository. (String, optional)

Returns None.

Examples


Batch example...:


Interactive example...



updateIdMgrLDAPBindInfo

The updateIdMgrLDAPBindInfo command dynamically updates the LDAP server bind information. If you specify a value for the bindDN parameter, then specify a value for the bindPassword parameter. If you specify the id parameter only, then the LDAP server information is refreshed.

Parameters

-id

The ID of the repository. (String, required)

-bindDN

The binding distinguished name for the LDAP server. (String, optional)

-bindPassword

The binding password for the LDAP server. (String, optional)

-securityDomainName

The name that uniquely identifies the security domain. If not specified, uses the global federated repository. (String, optional)

Examples


Batch example...


Interactive example...



updateIdMgrSupportedEntityType

The updateIdMgrSupportedEntityType command updates the configuration that you specify for a supported entity type.

Parameters

-name

The name of the supported entity type. The value of this parameter must be one of the supported entity types. (String, required)

-securityDomainName

The name that uniquely identifies the security domain. If not specified, uses the global federated repository. (String, optional)

-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 example...


Interactive example...


Use the wsadmin scripting AdminTask object for scripted administration


Related


Commands using wsadmin.sh
IdMgrRepositoryConfig command group
IdMgrRealmConfig command group

+

Search Tips   |   Advanced Search