Package org.apache.cxf.rt.security.utils
Class SecurityUtils
java.lang.Object
org.apache.cxf.rt.security.utils.SecurityUtils
Some common functionality
-
Method Summary
Modifier and TypeMethodDescriptionstatic CallbackHandlerstatic URLgetConfigFileURL(org.apache.cxf.message.Message message, String configFileKey, String configFileDefault) static booleangetSecurityPropertyBoolean(String property, org.apache.cxf.message.Message message, boolean defaultValue) Get the security property boolean for the given property.static ObjectgetSecurityPropertyValue(String property, org.apache.cxf.message.Message message) Get the security property value for the given property.static Propertiesstatic PropertiesloadProperties(org.apache.cxf.resource.ResourceManager manager, Object o) static URLstatic URLloadResource(org.apache.cxf.message.Message message, Object o) static URLloadResource(org.apache.cxf.resource.ResourceManager manager, Object o)
-
Method Details
-
getCallbackHandler
- Throws:
Exception
-
getConfigFileURL
-
loadResource
-
loadResource
-
loadResource
-
loadProperties
-
loadProperties
-
getSecurityPropertyValue
public static Object getSecurityPropertyValue(String property, org.apache.cxf.message.Message message) Get the security property value for the given property. It also checks for the older "ws-"* property values. -
getSecurityPropertyBoolean
public static boolean getSecurityPropertyBoolean(String property, org.apache.cxf.message.Message message, boolean defaultValue) Get the security property boolean for the given property. It also checks for the older "ws-"* property values. If none is configured, then the defaultValue parameter is returned.
-