Class SecurityUtils


  • public final class SecurityUtils
    extends Object
    Some common functionality
    • Method Detail

      • getConfigFileURL

        public static URL getConfigFileURL​(org.apache.cxf.message.Message message,
                                           String configFileKey,
                                           String configFileDefault)
      • loadResource

        public static URL loadResource​(Object o)
      • loadResource

        public static URL loadResource​(org.apache.cxf.message.Message message,
                                       Object o)
      • loadResource

        public static URL loadResource​(org.apache.cxf.resource.ResourceManager manager,
                                       Object o)
      • loadProperties

        public static Properties loadProperties​(org.apache.cxf.resource.ResourceManager manager,
                                                Object o)
      • 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.