FileDocCategorySizeDatePackage
SecurityUtil.javaAPI DocGlassfish v2 API2681Fri May 04 22:32:58 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;