Now there are occasions where you might want to delete application policies manually. Here is a WLST command sample.
- Launch WLST command as
/common/bin/wlst.sh - Connect to Admins server, connect('weblogic','welcome1',"localhost:7001")
Sample Output
Connecting to t3://localhost:7001 with userid weblogic ...
Successfully connected to Admin Server 'AdminServer' that belongs to domain 'domain1'.
Warning: An insecure protocol was used to connect to the
server. To ensure on-the-wire security, the SSL port or
Admin port should be used instead. - Delete the authZ policy for a an application, deleteAppPolicies(appStripe="TB#V1.0#9")
Sample Output
{appStripe=TB#V1.0#9}
Location changed to domainRuntime tree. This is a read-only tree with DomainMBean as the root.
For more help, use help(domainRuntime)
Note the application stripe is a fully qualified name and include the application + the version.
No comments:
Post a Comment