Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


oracle.wsm.policytools
Class PolicyTool

java.lang.Object
  extended by oracle.wsm.policytools.PolicyTool


public class PolicyTool
extends Object
Author:
rmulye

Nested Class Summary
protected static class PolicyTool.FILE_TYPE
           

 

Constructor Summary
PolicyTool(PolicyTool.FILE_TYPE type, String mdsConfig)
           

 

Method Summary
protected  void bulkUpload(String dirLocation)
          Upload all the policy/assertion template XMLs to the db store from a directory
protected  void cleandbStore()
          Delete all the policies/assetion templates in the store
protected  List<IPolicyAccessSubject> getPolicyAccessSubjects(List<Element> elements)
           
protected  IPolicySubject getPolicySubject(Element element)
           
static void main(String[] args)
          main() method to invoke required operation
static boolean validatePolicyManager(String httpHost, int httpPort)
           

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Constructor Detail

PolicyTool

public PolicyTool(PolicyTool.FILE_TYPE type,
                  String mdsConfig)
           throws Exception
Throws:
Exception

Method Detail

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

Oracle Fusion Middleware Java API Reference for Oracle Web Services Manager
11g (11.1.1)

E10689-01


Copyright © 2007, 2009, Oracle and/or its affiliates. All rights reserved.