FileDocCategorySizeDatePackage
SecurityUtil.javaAPI DocApache Tomcat 6.0.141533Fri Jul 20 04:20:36 BST 2007org.apache.jasper.security

SecurityUtil

public final class SecurityUtil extends Object
Util class for Security related operations.
author
Jean-Francois Arcand

Fields Summary
private static boolean
packageDefinitionEnabled
Constructors Summary
Methods Summary
public static booleanisPackageProtectionEnabled()
Return the SecurityManager only if Security is enabled AND package protection mechanism is enabled.

    
                       
       
        if (packageDefinitionEnabled && Constants.IS_SECURITY_ENABLED){
            return true;
        }
        return false;