Description Syntax Example setFederationProperty

4-58 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

4.4.60.1 Description

This command updates an existing custom SP integration engine in config.xml.

4.4.60.2 Syntax

setCustomSPEngineengineID, name, [enabled, [authnMech], [webContext], [authnRelativePath], [logoutRelativePath], [logoutEnabled]

4.4.60.3 Example

The following command sets the name and the enabled flag for the engine with ID engineID2: wls:mydomainserverConfig setCustomSPEngineengineid2,test,true

4.4.61 setFederationProperty

Online command that adds or updates a property value.

4.4.61.1 Description

This command adds a property entry or updates an existing entry in cot.xml.

4.4.61.2 Syntax

setFederationPropertyproviderID, propName, value, type

4.4.61.3 Example

The following command creates the property myvarA and sets its value: wls:mydomainserverConfig setFederationPropertyproviderA,myvarA,myvalA,string Argument Definition engineID Specifies the engine ID of an existing custom engine. name Specifies the name of the custom engine. enabled This flag specifies whether the engine is enabled true or not false. authnMech Specifies the authentication mechanism for the engine. webContext Specifies the web context for the engine. authnRelativePath Specifies the authentication relative path URL for the engine. logoutRelativePat h Specifies the logout relative path URL for the engine. logoutEnabled This flag is set true to enable logout for the engine, else false. Argument Definition providerID Specifies the name of the peer provider to be updated. propName Specifies the name of the property to be addedupdated in cot.xml. value Specifies the property value. type Specifies the type of property, BOOLEAN or STRING or LONG. Infrastructure Security Custom WLST Commands 4-59

4.5 Directory Integration Platform Commands

Some of the Directory Integration Platform DIP tools use WLST internally, and therefore, there are no custom WLST commands available to run from the WLST command prompt or to use within scripts. For information on DIP tools, see Directory Integration Platform Tools in the Oracle Fusion Middleware User Reference for Oracle Identity Management.

4.6 Security Commands

Use the WLST security commands listed in Table 4–5 to operate on a domain policy or credential store, and to migrate policies and credentials from a source repository to a target repository. Table 4–5 WLST Security Commands Use this command... To... Use with WLST... listAppStripes List application stripes in policy store. Online createAppRole Create a new application role. Online deleteAppRole Remove an application role. Online grantAppRole Add a principal to a role. Online revokeAppRole Remove a principal from a role. Online listAppRoles List all roles in an application. Online listAppRolesMembers List all members in an application role. Online grantPermission Create a new permission. Online revokePermission Remove a permission. Online listPermissions List all permissions granted to a principal. Online deleteAppPolicies Remove all policies in an application. Online migrateSecurityStore Migrate policies or credentials from a source repository to a target repository. Offline listCred Obtain the list of attribute values of a credential. Online updateCred Modify the attribute values of a credential. Online createCred Create a new credential. Online deleteCred Remove a credential. Online modifyBootStrapCredential Update bootstrap credential store Offline addBootStrapCredential Add a credential to the bootstrap credential store Offline reassociateSecurityStore Reassociate policies and credentials to an LDAP repository Online upgradeSecurityStore Upgrade security data from data used with release 10.1.x to data used with release 11. Offline createResourceType Create a new resource type. Online getResourceType Fetch an existing resource type. Online deleteResourceType Remove an existing resource type. Online createResource Create a resource. Online