Class SecurityUtils


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

      • getConfigFileURL

        public static URL getConfigFileURL​(Message message,
                                           String configFileKey,
                                           String configFileDefault)
      • loadResource

        public static URL loadResource​(Object o)
      • getSecurityPropertyValue

        public static Object getSecurityPropertyValue​(String property,
                                                      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,
                                                         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.