5 Identity Directory Service WLST Commands

Use these WebLogic Scripting Tool (WLST) commands to manage Identity Directory Service.

The Identity Directory Service Commands section lists the Identity Directory Service WLST commands and contains links to the command reference details.

5.1 Identity Directory Service WLST Commands

This chapter describes the WLST commands for Identity Directory Service.

Use the WLST commands listed in Table 5-1 to manage Identity Directory Service entity attributes, entity definitions, relationships and default operational configurations.

Table 5-1 WLST Identity Directory Service Commands

Use this command... To... Use with WLST...

activateIDSConfigChanges

Reload the Identity Directory Service configuration.

Online

addAttributeInEntityConfig

Add a new attribute to the entity configuration.

Online

addAttributePropsInEntityConfig

Add new properties for an attribute in an entity configuration.

Online

addAttributeRefForEntity

Add a new attribute to the specified entity.

Online

addAttrrefPropsInEntityConfig

Add new properties for an attribute reference in an entity configuration.

Online

addCommonPropertyForOperationConfig

Add a new property for a specified operation configuration.

Online

addEntity

Add a new entity to the entity configuration.

Online

addEntityProps

Add new properties for an entity in an entity configuration.

Online

addEntityRelation

Add a new entity relation to the entity configuration.

Online

addIdentityDirectoryService

Add a new Identity Directory Service to the configuration.

Online

addOperationConfig

Add a new operation configuration to the entity configuration.

Online

addPropertyForOperationConfig

Add a new property to a specified operation configuration.

Online

deleteAttributeInEntityConfig

Delete an attribute from an entity configuration.

Online

deleteAttributePropsInEntityConfig

Delete attribute properties in an entity configuration.

Online

deleteAttrrefPropsInEntityConfig

Delete attribute reference properties in an entity configuration.

Online

deleteEntity

Delete an entity from an entity configuration.

Online

deleteEntityProps

Delete entity properties in an entity configuration.

Online

deleteEntityRelation

Delete the specified entity relation.

Online

deleteIdentityDirectoryService

Delete the specified Identity Directory Service in the configuration.

Online

deleteOperationConfig

Delete operation configuration in an entity configuration.

Online

listAllAttributeInEntityConfig

List all attributes in the entity configuration.

Online

listAllEntityInEntityConfig

List all entities defined in the specified entity configuration.

Online

listAllIdentityDirectoryService

List all Identity Directory Services in the configuration.

Online

removeAttributeRefForEntity

Remove an attribute from the specified entity.

Online

removeCommonPropertyForOperationConfig

Remove a property for the specified operation configuration.

Online

removePropertyForOperationConfig

Remove a property for the specified operation configuration.

Online

updateAttributeInEntityConfig

Update attributes in an entity configuration.

Online

updateAttributePropsInEntityConfig

Update attribute properties in an entity configuration.

Online

updateAttrrefPropsInEntityConfig

Update attribute reference properties in an entity configuration.

Online

updateEntity

Update an entity's properties in an entity configuration.

Online

updateEntityAttrs

Update an entity's properties in an entity configuration.

Online

updateEntityProps

Update the entity properties in an entity configuration.

Online

deleteAttributePropsInEntityConfig

Delete the attribute properties in an entity configuration.

Online

dumpConnectionPoolStatsForInMemoryConfig

Dumps the LDAP connection pool statistics for the associated in-memory IDS configuration for the current JVM into a specified file.

Online

dumpConnectionPoolStatsForAllInMemoryConfig

Dumps the LDAP connection pool statistics for all in-memory IDS configuration for the current JVM into a specified file.

Online

dumpConnectionPoolStatsForAllFileBasedConfig

Dumps the LDAP connection pool statistics for all file-based IDS configuration for the current JVM into a specified file.

Online

dumpConnectionPoolStatsForAllFileBasedConfig

Dumps the LDAP connection pool statistics for all file-based IDS configuration for the current JVM into a specified file.

Online

5.1.1 activateIDSConfigChanges

Online command that reloads the configuration for Identity Directory Service.

Description

Reloads the Identity Directory Service configuration.

Syntax

activateIDSConfigChanges()

This command has no arguments.

Example

The following command reloads the Identity Directory Service configuration:

activateIDSConfigChanges()

5.1.2 addAttributeInEntityConfig

Online command that adds an attribute to the entity configuration.

Description

Adds a new attribute to the entity configuration.

Syntax

addAttributeInEntityConfig(name, datatype, description, readOnly, pwdAttr, appName)

Table 5-2 addAttributeInEntityConfig Arguments

Argument Definition

name

Name of the attribute to be added.

datatype

The attribute's type is defined as one of the following:

  • binary

  • boolean

  • datetime

  • double

  • integer

  • rfc822name

  • string

  • x500name

description

Description of the attribute to be added.

readOnly

Flag to specify whether the attribute is read only or can be modified.

pwdAttr

Flag to specify whether the attribute defines a password or not.

appName

Name of the Identity Directory Service.

Example

The following command adds an attribute commonname of userrole entity:

addAttributeInEntityConfig('commonname','string','common name',false,false,'userrole')

5.1.3 addAttributePropsInEntityConfig

Online command that adds properties for an attribute in an entity configuration.

Description

Adds new properties for an attribute in an entity configuration.

Syntax

addAttributePropsInEntityConfig(name, propNames, propVals, appName)

Table 5-3 addAttributePropsInEntityConfig Arguments

Argument Definition

name

Name of the attribute to be added.

propNames

List of property names separated by "|".

The properties (propNames and propVals) are free key/value pairs. Applications can store any required metadata at the attribute level in these properties. The Identity Directory Service does not perform any validation for these property names and does not interpret or use these properties internally.

For configuration attributes, however, the Identity Directory Service performs a schema check and interprets the configuration names and their values.

propVals

List of corresponding property values separated by "|".

appName

Name of the Identity Directory Service.

Example

The following command adds an attribute orgunit of entity userrole:

addAttributePropsInEntityConfig('orgunit','labelname|multivalued','common name|true','userrole')

5.1.4 addAttributeRefForEntity

Online command that adds attribute to an entity.

Description

Adds a new attribute to the specified entity.

Syntax

addAttributeRefForEntity(name, attrRefName, attrRefFilter, attrRefDefaultFetch, appName)

Table 5-4 addAttributeRefForEntity Arguments

Argument Definition

name

Name of the entity to which the attribute will be added.

attrRefName

Name of the attribute to be added to the entity.

attrRefFilter

Type of filter to be used with the attribute, defined as one of the following:

  • beginswith

  • contains

  • doesnotcontain

  • dynamic

  • endswith

  • equals

  • greaterequal

  • greaterthan

  • lessequal

  • lessthan

  • none

  • notequals

attrRefDefaultFetch

Flag to specify whether the attribute is fetched by default.

appName

Name of the Identity Directory Service.

Example

The following command adds an attribute User to userrole entity:

addAttributeRefForEntity('User','givenname','none','true','userrole')

5.1.5 addAttrrefPropsInEntityConfig

Online command that adds property for an attribute reference.

Description

Adds new properties for an attribute reference in an entity configuration.

Syntax

addAttrrefPropsInEntityConfig(entityName, attrName, propNames, propVals, appName)

Table 5-5 addAttrrefPropsInEntityConfig Arguments

Argument Definition

entityName

Name of the entity.

attrName

Name of the attribute reference.

propNames

List of property names separated by "|".

The properties (propNames and propVals) are free key/value pairs. Applications can store any required metadata at the attribute level in these properties. The Identity Directory Service does not perform any validation for these property names and does not interpret or use these properties internally.

For configuration attributes, however, the Identity Directory Service performs a schema check and interprets the configuration names and their values.

propVals

List of corresponding property values separated by "|".

appName

Name of the Identity Directory Service.

Example

The following command adds a multivalued property labelname for org entity:

addAttrrefPropsInEntityConfig('org', 'orgunit','labelname|multivalued','common name|true','userrole')

5.1.6 addCommonPropertyForOperationConfig

Online command that adds a property for an operation configuration.

Description

Adds a new property for a specified operation configuration.

Syntax

addCommonPropertyForOperationConfig(entityName, propName, propValue, appName)

Table 5-6 addCommonPropertyForOperationConfig Arguments

Argument Definition

entityName

Name of the entity.

propName

Name of the property to be added for this operation configuration.

propValue

Value of the property to be added for this operation configuration.

appName

Name of the Identity Directory Service.

Example

The following command adds a new property member:

addCommonPropertyForOperationConfig('groupmember.attr', 'member', 'userrole')

5.1.7 addEntity

Online command that adds an entity to the configuration.

Description

Adds a new entity to the entity configuration.

Syntax

addEntity(name, type, idAttr, create, modify, delete, search, attrRefNames, attrRefFilters, attrRefDefaultFetches, appName)

Table 5-7 addEntity Arguments

Argument Definition

name

Name of the entity to which the attribute will be added.

type

Name of the attribute to be added to the entity.

idAttr

Identity attribute of the entity to be added.

create

Flag to specify the create is allowed.

modify

Flag to specify the modify is allowed.

delete

Flag to specify the delete is allowed.

search

Flag to specify the search is allowed.

attrRefNames

Array of attribute names.

attrRefFilters

An array of filter type values, defined as one of the following:

  • beginswith

  • contains

  • doesnotcontain

  • dynamic

  • endswith

  • equals

  • greaterequal

  • greaterthan

  • lessequal

  • lessthan

  • none

  • notequals

attrRefDefaultFetches

Array of boolean strings (true, false).

appName

Name of the Identity Directory Service.

Example

The following command adds an attribute group to the Group entity.

addEntity('Group','group','commonname',true,true,true,true,'name|commonname','none|none','true|false','userrole')

5.1.8 addEntityProps

Adds property for an entity.

Description

Online command that adds new properties for an entity in an entity configuration.

Syntax

addEntityProps(name, propNames, propVals, appName)

Table 5-8 addEntityProps Arguments

Argument Definition

name

Name of the entity.

propNames

List of property names separated by "|".

propValues

List of corresponding property values separated by "|".

appName

Name of the Identity Directory Service.

Example

The following command adds inclobjclasses and exclobjclasses properties:

addEntityProps('User','inclobjclasses|exclobjclasses','inetorgperson|orclidxperson','userrole')

5.1.9 addEntityRelation

Online command that adds entity relation to an entity.

Description

Add a new entity relation to the entity configuration for the specified attributes.

Syntax

addEntityRelation(name, type, fromEntity, fromAttr, toEntity, toAttr, recursive, appName)

Table 5-9 addEntityRelation Arguments

Argument Definition

name

Name of the relation between the entities for the given attributes.

type

Type of the entity relation ("ManyToMany", "ManyToOne", "OneToMany", "OneToOne").

fromEntity

Name of the from entity.

fromAttr

Name of the from attribute.

toEntity

Name of the to entity.

toAttr

Name of the to attribute.

recursive

Flag to set the entity relationship as recursive.

appName

Name of the Identity Directory Service.

Example

The following command adds the manager relation between the manager and User entities:

addEntityRelation('manager', 'ManyToOne', 'User', 'manager', 'User', 'principal', false, 'userrole')

5.1.10 addIdentityDirectoryService

Online command that adds an Identity Store Service.

Description

Adds a new IdentityStoreService to the Identity Directory Service configuration.

Syntax

addIdentityDirectoryService(name, description, propNames, propValues)

Table 5-10 addIdentityDirectoryService Arguments

Argument Definition

name

Name of the IdentityStoreService to be added.

description

Description of the IdentityStoreService.

propNames

An array of property names to be added to the IdentityStoreService configuration.

propValues

An array of values to be defined for the property names added to the IdentityStoreService configuration.

Example

The following command adds the userrole IdentityStoreService:

addIdentityDirectoryService('userrole', 'user role', 'ovd.context|entity.config', 'default|userrole')

5.1.11 addOperationConfig

Online command that adds operation configuration to an entity.

Description

Adds a new operation configuration to the entity configuration.

Syntax

addOperationConfig(entityName, propNames, propValues, appName)

Table 5-11 addOperationConfig Arguments

Argument Definition

entityName

Name of the entity to which the operation configuration will be added.

propNames

An array of property names to be added to the operation configuration.

propValues

An array of property values for the properties added to the operation configuration.

appName

Name of the Identity Directory Service.

Example

The following command adds the User entity to which the operation configuration will be added:

addOperationConfig('User', 'entity.searchbase', 'cn=users,dc=oracle,dc=com', 'userrole')

5.1.12 addPropertyForOperationConfig

Online command that adds a property to an operation configuration.

Description

Adds a new property to a specified operation configuration.

Syntax

addPropertyForOperationConfig(entityName, propName, propValue, appName)

Table 5-12 addPropertyForOperationConfig Arguments

Argument Definition

entityName

Name of the entity to which the operation configuration will be added.

propName

A property name to be added to the operation configuration.

propValue

A value for the property added to the operation configuration.

appName

Name of the Identity Directory Service.

Example

The following command adds the property to the operation configuration:

addPropertyForOperationConfig('User','entity.searchbase', 'cn=users,dc=oracle,dc=com', 'userrole')

5.1.13 deleteAttributeInEntityConfig

Online command that deletes attribute from an entity.

Description

Deletes an attribute from an entity configuration.

Syntax

deleteAttributeInEntityConfig(name, appName)

Table 5-13 deleteAttributeInEntityConfig Arguments

Argument Definition

name

Name of the attribute to be deleted.

appName

Name of the Identity Directory Service.

Example

The following command deletes the commonname attribute.

deleteAttributeInEntityConfig('commonname', 'userrole')

5.1.14 deleteAttributePropsInEntityConfig

Online command that deletes the properties of an attribute.

Description

Deletes attribute properties in an entity configuration.

Syntax

deleteAttributePropsInEntityConfig(name, propNames, appName)

Table 5-14 deleteAttributePropsInEntityConfig Arguments

Argument Definition

name

Name of the attribute.

propNames

List of property names separated by "|".

appName

Name of the Identity Directory Service.

Example

The following example deletes the property labelname from the userrole entity:

deleteAttributePropsInEntityConfig('orgunit','labelname|multivalued','userrole')

5.1.15 deleteAttrrefPropsInEntityConfig

Online command that deletes attribute reference properties in an entity.

Description

Deletes one or more attribute reference properties in an entity configuration.

Syntax

deleteAttrrefPropsInEntityConfig(entityName, attrName, propNames, appName)

Table 5-15 deleteAttrrefPropsInEntityConfig Arguments

Argument Definition

entityName

Name of the entity.

attrName

Name of the attribute reference.

propNames

List of property names to be deleted. If multiple properties are to be deleted, they should be separated by "|".

appName

Name of the Identity Directory Service.

Example

The following command deletes two properties from attribute reference orgunit of entity org:

deleteAttrrefPropsInEntityConfig('org', 'orgunit','labelname|multivalued','userrole')

5.1.16 deleteEntity

Online command that deletes an entity.

Description

Deletes an entity from an entity configuration.

Syntax

deleteEntity(name, appName)

Table 5-16 deleteEntity Arguments

Argument Definition

name

Name of the entity to be deleted.

appName

Name of the Identity Directory Service.

Example

The following command deletes the User entity.

deleteEntity('User', 'userrole')

5.1.17 deleteEntityProps

Online command that deletes the properties of an entity.

Description

Deletes entity properties in an entity configuration.

Syntax

deleteEntityProps(name, propNames, appName)

Table 5-17 deleteEntityProps Arguments

Argument Definition

name

Name of the entity.

propNames

List of property names separated by "|".

appName

Name of the Identity Directory Service.

Example

The following command deletes the two properties inclobjclasses and exclobjclasses of User entity:

deleteEntityProps('User','inclobjclasses|exclobjclasses','userrole')

5.1.18 deleteEntityRelation

Online command that deletes the relationship between entities.

Description

Deletes the specified entity relation between entities for the given attributes.

Syntax

deleteEntityRelation(name, appName)

Table 5-18 deleteEntityRelation Arguments

Argument Definition

name

Name of the relation between the entities for the given attributes.

appName

Name of the Identity Directory Service.

Example

The following command deletes the manager relation specified between entities:

deleteEntityRelation('manager', 'userrole')

5.1.19 deleteIdentityDirectoryService

Online command that deletes the specified IdentityStoreService.

Description

Deletes the specified IdentityStoreService in the Identity Directory Service configuration.

Syntax

deleteIdentityDirectoryService(name)

where name is the name of the IdentityStoreService configuration to be deleted.

Example

The following example deletes ids1 IdentityStoreService configuration.

deleteIdentityDirectoryService('ids1')

5.1.20 deleteOperationConfig

Online command that deletes an operation configuration.

Description

Deletes an operation configuration in an entity configuration.

Syntax

deleteOperationConfig(entityName, appName)

Table 5-19 deleteOperationConfig Arguments

Argument Definition

entityName

Name of the entity from which the operation configuration will be removed.

appName

Name of the Identity Directory Service.

Example

The following command deletes the operation configuration associated with entity User and application userrole:

deleteOperationConfig('User','userrole')

5.1.21 listAllAttributeInEntityConfig

Online command that lists all attributes.

Description

Lists all attributes in the entity configuration.

Syntax

listAllAttributeInEntityConfig(appName)

where appName is the name of the Identity Directory Service that contains the entity configuration from which the list of attributes is retrieved.

Example

The following command obtains the list of attributes from userrole entity:

listAllAttributeInEntityConfig('userrole')

5.1.22 listAllEntityInEntityConfig

Online command that lists all entities for an entity configuration.

Description

Lists all entities defined in the specified entity configuration.

Syntax

listAllEntityInEntityConfig(appName)

where appName is the name of the Identity Directory Service that contains the entity configuration from which the list of entities is retrieved.

Example

The following command obtains the list of entities associated with userrole entity:

listAllEntityInEntityConfig('userrole') 

5.1.23 listAllIdentityDirectoryService

Online command that lists all IdentityStoreService for an Identity Directory Service configuration.

Description

Lists all IdentityStoreService in Identity Directory Service configuration.

Syntax

listAllIdentityDirectoryService()

This command has no arguments.

Example

The following command lists all the IdentityStoreService for an Identity Directory Service configuration:

listAllIdentityDirectoryService()

5.1.24 removeAttributeRefForEntity

Online command that deletes an attribute from an entity.

Description

Removes an attribute from the specified entity.

Syntax

removeAttributeRefForEntity(name, attrRefName, appName)

Table 5-20 removeAttributeRefForEntity Arguments

Argument Definition

name

Name of the entity from which the attribute will be removed.

attrRefName

The name of the attribute to be removed.

appName

Name of the Identity Directory Service.

Example

The following command deletes the givenname attribute associated with User entity:

removeAttributeRefForEntity('User','givenname','userrole')

5.1.25 removeCommonPropertyForOperationConfig

Online command that deletes a property for an operation configuration.

Description

Removes a property for the specified operation configuration.

Syntax

removeCommonPropertyForOperationConfig(entityName, propName, appName)

Table 5-21 removeCommonPropertyForOperationConfig Arguments

Argument Definition

entityName

Name of the entity.

propName

Name of property to be removed for this operation configuration.

appName

Name of the Identity Directory Service.

Example

The following command removes groupmember.attr property associated with User entity:

removeCommonPropertyForOperationConfig('User','groupmember.attr','userrole')

5.1.26 removePropertyForOperationConfig

Online command that removes a property for an operation configuration.

Description

Removes a property for the specified operation configuration.

Syntax

removePropertyForOperationConfig(entityName, propName, appName)

Table 5-22 removePropertyForOperationConfig Arguments

Argument Definition

entityName

Name of the entity from which the operation configuration will be removed.

propName

A property name to be removed from the operation configuration.

appName

Name of the Identity Directory Service.

Example

The following command removes entity.searchbase property associated with User entity:

removePropertyForOperationConfig('User','entity.searchbase','userrole')

5.1.27 updateAttributeInEntityConfig

Online command that updates an attribute for an entity configuration.

Description

Updates attributes in an entity configuration.

Syntax

updateAttributeInEntityConfig(name, attrNames, attrVals, appName)

Table 5-23 updateAttributeInEntityConfig Arguments

Argument Definition

name

Name of the entity attribute to be updated.

attrNames

List of configuration attribute names separated by "|". Valid configuration attribute names are:

  • dataType

  • description

  • readOnly

  • pwdAttr

  • attrInUse

attrVals

List of corresponding attribute values separated by "|".

appName

Name of the Identity Directory Service.

Example

The following command updates the commonname attribute:

updateAttributeInEntityConfig('commonname','readOnly|pwdAttr|attrInUse','true|false|false','userrole')

5.1.28 updateAttributePropsInEntityConfig

Online command that updates the properties of an attribute for an entity.

Description

Updates attribute properties in an entity configuration.

Syntax

updateAttributePropsInEntityConfig(name, propNames, propVals, appName)

Table 5-24 updateAttributePropsInEntityConfig Arguments

Argument Definition

name

Name of the attribute to be updated.

propNames

List of property names separated by "|".

propVals

List of corresponding property values separated by "|".

appName

Name of the Identity Directory Service.

Example

The following command updates the properties for orgunit attribute associated with userrole application:

updateAttributePropsInEntityConfig('orgunit','multivalued','multivalued','userrole')

5.1.29 updateAttrrefPropsInEntityConfig

Online command that updates attribute reference properties for an entity.

Description

Updates attribute reference properties in an entity configuration.

Syntax

updateAttrrefPropsInEntityConfig(entityName, attrName, propNames, propVals, appName)

Table 5-25 updateAttrrefPropsInEntityConfig Arguments

Argument Definition

entityName

Name of the entity.

attrName

Name of the attribute reference.

propNames

List of property names separated by "|".

propVals

List of corresponding property values separated by "|".

appName

Name of the Identity Directory Service.

Example

The following command updates the attribute reference properties:

updateAttrrefPropsInEntityConfig('org', 'orgunit','entity.searchbase','multivalued','userrole')

5.1.30 updateEntity

Online command that updates properties of an entity.

Description

Updates an entity's properties in an entity configuration.

Syntax

updateEntity(name, type, idAttr, create, modify, delete, search, appName)

Table 5-26 updateEntity Arguments

Argument Definition

name

Name of the entity to be updated.

type

Type of the entity.

idAttr

Identity attribute of the entity.

create

Flag to specify the create is allowed.

modify

Flag to specify the modify is allowed.

delete

Flag to specify the delete is allowed.

search

Flag to specify the search is allowed.

appName

Name of the Identity Directory Service.

Example

The following command updates the properties associated with Group entity:

updateEntity('Group','group','commonname',true,true,true,true,'userrole')

5.1.31 updateEntityAttrs

Online command that updates the configuration attributes for an entity.

Description

Updates the configuration attributes for an entity attribute.

Syntax

updateEntityAttrs(name, attrNames, attrVals, appName)

Table 5-27 updateEntityAttrs Arguments

Argument Definition

name

Name of the entity attribute.

To update the properties of an entity attribute, see updateAttributePropsInEntityConfig.

attrNames

List of configuration attribute names. If multiple configuration attributes are to be updated, they should be separated by "|". Valid configuration attribute names are:

  • idAttr

  • pwdAttr

  • firstnameAttr

  • lastnameAttr

  • mailAttr

  • displaynameAttr

  • descriptionAttr

  • challengeQnAttr

  • challengeAnsAttr

  • commonIdAttr.

attrVals

List of corresponding configuration attribute values separated by "|".

appName

Name of the Identity Directory Service.

Example

The following command updates configuration attributes associated with User entity:

updateEntityAttrs('User','idAttr|firstnameAttr','uid|givenname','userrole')

5.1.32 updateEntityProps

Online command that updates the properties of an entity.

Description

Updates the entity properties in an entity configuration.

Syntax

updateEntityProps(name, propNames, propVals, appName)

Table 5-28 updateEntityProps Arguments

Argument Definition

name

Name of the attribute to be updated.

propNames

List of property names separated by "|".

propVals

List of corresponding property values separated by "|".

appName

Name of the Identity Directory Service.

Example

The following command updates the properties associated with User entity:

updateEntityProps('User','inclobjclasses|exclobjclasses','inetorgperson|orclidxperson','userrole')

5.1.33 deleteAttributePropsInEntityConfig

Online command that deletes the attribute properties in an entity configuration.

Description

Deletes the attribute properties in an entity configuration.

Syntax

deleteAttributePropsInEntityConfig(name, propNames, appName)

Table 5-29 deleteAttributePropsInEntityConfig

Argument Definition

name

Name of the attribute to be deleted.

propNames

List of property names separated by "|".

appName

Name of the Identity Directory Service.

Example

The following command deletes the attribute property, orgunit from the userrole.

deleteAttributePropsInEntityConfig('orgunit','labelname|validvalues','userrole')

5.1.34 dumpConnectionPoolStatsForInMemoryConfig

Online command that dumps the LDAP connection pool statistics for the associated in-memory IDS configuration for the current JVM on which WLS is configured into a specified file.

Description

Dumps the LDAP connection pool statistics for the associated in-memory IDS configuration for the current JVM on which WLS is configured into a specified file.

Syntax

dumpConnectionPoolStatsForInMemoryConfig(name, fileName)

Table 5-30 dumpConnectionPoolStatsForInMemoryConfig

Argument Definition

name

Name of the in-memory IDS configuration.

fileName

Refers to the full path of the file.

Example

The following example dumps the connection pool statistics for the in-memory IDS configuration ids1 into the specified file:

dumpConnectionPoolStatsForInMemoryConfig('ids1', '/tmp/dump.txt')

5.1.35 dumpConnectionPoolStatsForAllInMemoryConfig

Online command that dumps the LDAP connection pool statistics for all in-memory IDS configuration for the current JVM on which WLS is configured into a specified file.

Description

Dumps the LDAP connection pool statistics for all in-memory IDS configuration for the current JVM on which WLS is configured into a specified file.

Syntax

dumpConnectionPoolStatsForAllInMemoryConfig(fileName)

Table 5-31 dumpConnectionPoolStatsForAllInMemoryConfig

Argument Definition

fileName

Refers to the full path of the file.

Example

The following example dumps LDAP connection pool statistics for all in-memory IDS configuration into the specified file:

dumpConnectionPoolStatsForAllInMemoryConfig('/tmp/dump.txt')

5.1.36 dumpConnectionPoolStatsForAllFileBasedConfig

Online command that dumps the LDAP connection pool statistics for all file-based IDS configuration for the current JVM on which WLS is configured into a specified file.

Description

Dumps the LDAP connection pool statistics for all file-based IDS configuration for the current JVM on which WLS is configured into a specified file.

Syntax

dumpConnectionPoolStatsForAllFileBasedConfig(name, fileName)

Table 5-32 dumpConnectionPoolStatsForAllFileBasedConfig

Argument Definition

name

Name of the file-based IDS configuration.

fileName

Refers to the full path of the file.

Example

The following example dumps the connection pool statistics for ids file-based configuration into the specified file:

dumpConnectionPoolStatsForFileBasedConfig('ids1', '/tmp/dump.txt')

5.1.37 dumpConnectionPoolStatsForAllFileBasedConfig

Online command that dumps the LDAP connection pool statistics for all file-based IDS configuration in the current JVM on which WLS is configured into a specified file.

Description

Dumps the LDAP connection pool statistics for all file-based IDS configuration for the current JVM on which WLS is configured into a specified file.

Syntax

dumpConnectionPoolStatsForAllFileBasedConfig(fileName)

Table 5-33 dumpConnectionPoolStatsForAllFileBasedConfig

Argument Definition

fileName

Refers to the full path of the file.

Example

The following example dumps the connection pool statistics all file-based IDS configuration into the specified file:

dumpConnectionPoolStatsForFileBasedConfig('/tmp/dump.txt')