org.wso2.carbon.server.admin.privilegedaction
Class PrivilegedActionConfigurationXMLProcessor

java.lang.Object
  extended by org.wso2.carbon.server.admin.privilegedaction.PrivilegedActionConfigurationXMLProcessor

public class PrivilegedActionConfigurationXMLProcessor
extends Object

This class processes the XML configuration file privilegedaction.xml found in the root level of org.wso2.carbon.server.admin bundle. The class reads the following two properties skipServiceInvocation skipLowerPriorityExtensions


Field Summary
static String LOCAL_NAME_PRIVILEGED_ACTION
           
static String LOCAL_NAME_SKIP_LOWER_PRIORITY_EXTENSIONS
           
static String LOCAL_NAME_SKIP_SERVICE_INVOCATION
           
static String PRIVILEGED_ACTION_CONFIG_FILE
           
 
Constructor Summary
PrivilegedActionConfigurationXMLProcessor()
           
 
Method Summary
static PrivilegedActionConfiguration buildPrivilegedActionConfigurationFromFile()
          Retrun PrivilegedActionConfiguration read from privilegedaction.xml
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PRIVILEGED_ACTION_CONFIG_FILE

public static final String PRIVILEGED_ACTION_CONFIG_FILE
See Also:
Constant Field Values

LOCAL_NAME_PRIVILEGED_ACTION

public static final String LOCAL_NAME_PRIVILEGED_ACTION
See Also:
Constant Field Values

LOCAL_NAME_SKIP_SERVICE_INVOCATION

public static final String LOCAL_NAME_SKIP_SERVICE_INVOCATION
See Also:
Constant Field Values

LOCAL_NAME_SKIP_LOWER_PRIORITY_EXTENSIONS

public static final String LOCAL_NAME_SKIP_LOWER_PRIORITY_EXTENSIONS
See Also:
Constant Field Values
Constructor Detail

PrivilegedActionConfigurationXMLProcessor

public PrivilegedActionConfigurationXMLProcessor()
Method Detail

buildPrivilegedActionConfigurationFromFile

public static PrivilegedActionConfiguration buildPrivilegedActionConfigurationFromFile()
                                                                                throws PrivilegedActionException
Retrun PrivilegedActionConfiguration read from privilegedaction.xml

Returns:
PrivilegedActionConfiguration
Throws:
PrivilegedActionException


Copyright © 2014 WSO2 Inc. All rights reserved.