Skip navigation links
oracle.wsm.policytools
Class PolicyTool
java.lang.Object
oracle.wsm.policytools.PolicyTool
-
public class PolicyTool
- extends Object
- Author:
- rmulye
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PolicyTool
public PolicyTool(PolicyTool.FILE_TYPE type,
String mdsConfig)
throws Exception
-
- Throws:
Exception
main
public static void main(String[] args)
- main() method to invoke required operation
-
- Parameters:
args
-
- See Also:
AddRemovePolicy.usage() for usage
validatePolicyManager
public static boolean validatePolicyManager(String httpHost,
int httpPort)
cleandbStore
protected void cleandbStore()
- Delete all the policies/assetion templates in the store
bulkUpload
protected void bulkUpload(String dirLocation)
- Upload all the policy/assertion template XMLs to the db store from a directory
-
- Parameters:
dirLocation
- Location of the directory containing XML files to be uploaded
getPolicyAccessSubjects
protected List<IPolicyAccessSubject> getPolicyAccessSubjects(List<Element> elements)
getPolicySubject
protected IPolicySubject getPolicySubject(Element element)
Skip navigation links
Copyright © 2007, 2009, Oracle and/or its affiliates. All rights reserved.