public final class SecurityUtil extends Object
Constructor and Description |
---|
SecurityUtil() |
Modifier and Type | Method and Description |
---|---|
static String |
filter(String message)
Filter the specified message string for characters that are sensitive
in HTML.
|
static boolean |
isPackageProtectionEnabled()
Return the
SecurityManager only if Security is enabled AND
package protection mechanism is enabled. |
public static boolean isPackageProtectionEnabled()
SecurityManager
only if Security is enabled AND
package protection mechanism is enabled.true
if package protection is enabledpublic static String filter(String message)
message
- The message string to be filteredCopyright © 2000-2016 Apache Software Foundation. All Rights Reserved.