Description Syntax Example grantEntitlement

4-82 Oracle Fusion Middleware WebLogic Scripting Tool Command Reference

4.6.33.1 Description

Lists all the entitlements in an application stripe. If a resource name and a resource type are specified, it lists the entitlements that have a resource of the specified type matching the specified resource name; otherwise, it lists all the entitlements in the application stripe.

4.6.33.2 Syntax

listEntitlementsappStripe=appStripeName [,resourceTypeName=resTypeName, resourceName=resName]

4.6.33.3 Examples

The following invocation lists all the entitlements in the stripe myApplication: wls:mydomainserverConfig listEntitlementsappStripe=myApplication The following invocation lists all the entitlements in the stripe myApplication that contain a resource type myResType and a resource whose name match the resource name myResName: wls:mydomainserverConfig listEntitlementsappStripe=myApplication, resourceTypeName=myResType, resourceName=myResName

4.6.34 grantEntitlement

Online command that creates a new entitlement.

4.6.34.1 Description

Creates a new entitlement with a specified principal in a specified application stripe.

4.6.34.2 Syntax

grantEntitlementappStripe=appStripeName, principalClass=principalClass, principalName=principalName ,-permSetName=entName

4.6.34.3 Example

The following invocation creates the entitlement myEntitlement in the stripe myApplication: wls:mydomainserverConfig grantEntitlementappStripe=myApplication, principalClass=oracle.security.jps.service.policystore.ApplicationRole, principalName=myPrincipalName, permSetName=myEntitlement Argument Definition appStripe Specifies the application stripe from where to list entitlements. resourceTypeName Specifies the name of the type of the resources to list. Optional. resourceName Specifies the name of resource to match. Optional. Argument Definition appStripe Specifies the application stripe where the entitlement is created. principalClass Specifies the class associated with the principal. principalName Specifies the name of the principal to which the entitlement is granted. permSetName Specifies the name of the entitlement created. Infrastructure Security Custom WLST Commands 4-83

4.6.35 revokeEntitlement