@Deprecated public class ContextUtils extends Object
| Constructor and Description |
|---|
ContextUtils()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
static Map |
getMapOfContextAttributes(javax.servlet.ServletContext context)
Deprecated.
Used by ActionProcessLocator for getting attributes out of the ServletContext
|
static Properties |
loadProperties(javax.servlet.ServletContext context,
String filename)
Deprecated.
Load the specified properties file and return the properties.
|
static void |
saveProperties(javax.servlet.ServletContext context,
String filename,
Properties props)
Deprecated.
|
static boolean |
usingLDAPAuthentication(javax.servlet.ServletContext context)
Deprecated.
|
public static Map getMapOfContextAttributes(javax.servlet.ServletContext context)
public static Properties loadProperties(javax.servlet.ServletContext context, String filename) throws Exception
context - the ServletContextfilename - the fully qualified name of the properties fileException - if a problem occurs while loading the filepublic static void saveProperties(javax.servlet.ServletContext context,
String filename,
Properties props)
throws Exception
ExceptionCopyright © 2008-2013 Red Hat, Inc.. All Rights Reserved.