public class CarbonBaseUtils extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
checkSecurity()
Method to test whether a given user has permission to execute the given
method.
|
static void |
checkSecurity(List<String> allowedClasses)
Method to test whether a given user has permission to execute the given
method.
|
static void |
checkSecurity(Map<String,String> allowedMethods)
Method to test whether a given user has permission to execute the given
method.
|
static String |
getCarbonConfigDirPath() |
static String |
getCarbonHome() |
static String |
getServerXml() |
public static void checkSecurity()
public static void checkSecurity(List<String> allowedClasses)
allowedClasses - the classes that are allowed to make calls irrespective of the
user having desired permissions.public static void checkSecurity(Map<String,String> allowedMethods)
allowedMethods - the methods that are allowed to make calls irrespective of the
user having desired permissions.public static String getServerXml()
public static String getCarbonConfigDirPath()
public static String getCarbonHome()
Copyright © 2015 WSO2 Inc. All rights reserved.