public class AppGuardianConfiguration extends Object
Modifier and Type | Field and Description |
---|---|
static int |
BLOCK |
static String |
DEFAULT_CHARACTER_ENCODING |
static String |
DEFAULT_CONTENT_TYPE |
static int |
DEFAULT_FAIL_ACTION |
static String |
JAVASCRIPT_REDIRECT |
static String |
JAVASCRIPT_TARGET_TOKEN |
static int |
LOG |
static String |
LOG_DIRECTORY |
static org.apache.log4j.Level |
LOG_LEVEL |
static int |
OPERATOR_CONTAINS |
static int |
OPERATOR_EQ |
static int |
OPERATOR_EXISTS |
static int |
OPERATOR_IN_LIST |
static int |
REDIRECT |
Constructor and Description |
---|
AppGuardianConfiguration() |
Modifier and Type | Method and Description |
---|---|
void |
addAfterBodyRule(Rule r) |
void |
addAlias(String key,
Object obj) |
void |
addBeforeBodyRule(Rule r) |
void |
addBeforeResponseRule(Rule r) |
void |
addCookieRule(Rule r) |
List<Rule> |
getAfterBodyRules() |
List<Rule> |
getBeforeBodyRules() |
List<Rule> |
getBeforeResponseRules() |
List<Rule> |
getCookieRules() |
String |
getDefaultErrorPage() |
int |
getDefaultResponseCode() |
String |
getLogDirectory()
Deprecated.
|
org.apache.log4j.Level |
getLogLevel()
Deprecated.
|
String |
getSessionCookieName() |
boolean |
isUsingHttpOnlyFlagOnSessionCookie() |
boolean |
isUsingSecureFlagOnSessionCookie() |
void |
setApplyHTTPOnlyFlagToSessionCookie(boolean shouldApply) |
void |
setApplySecureFlagToSessionCookie(boolean shouldApply) |
void |
setDefaultErrorPage(String defaultErrorPage) |
void |
setDefaultResponseCode(int defaultResponseCode) |
void |
setLogDirectory(String dir)
Deprecated.
|
void |
setLogLevel(org.apache.log4j.Level level)
Deprecated.
|
void |
setSessionCookieName(String sessionCookieName) |
String |
toString() |
public static final int LOG
public static final int REDIRECT
public static final int BLOCK
public static final int OPERATOR_EQ
public static final int OPERATOR_CONTAINS
public static final int OPERATOR_IN_LIST
public static final int OPERATOR_EXISTS
public static org.apache.log4j.Level LOG_LEVEL
public static String LOG_DIRECTORY
public static int DEFAULT_FAIL_ACTION
public static String DEFAULT_CHARACTER_ENCODING
public static String DEFAULT_CONTENT_TYPE
public static final String JAVASCRIPT_TARGET_TOKEN
public static final String JAVASCRIPT_REDIRECT
public String getSessionCookieName()
public void setSessionCookieName(String sessionCookieName)
@Deprecated public org.apache.log4j.Level getLogLevel()
@Deprecated public void setLogLevel(org.apache.log4j.Level level)
@Deprecated public void setLogDirectory(String dir)
@Deprecated public String getLogDirectory()
public String getDefaultErrorPage()
public void setDefaultErrorPage(String defaultErrorPage)
public int getDefaultResponseCode()
public void setDefaultResponseCode(int defaultResponseCode)
public void addBeforeBodyRule(Rule r)
public void addAfterBodyRule(Rule r)
public void addBeforeResponseRule(Rule r)
public void addCookieRule(Rule r)
public void setApplyHTTPOnlyFlagToSessionCookie(boolean shouldApply)
public void setApplySecureFlagToSessionCookie(boolean shouldApply)
public boolean isUsingHttpOnlyFlagOnSessionCookie()
public boolean isUsingSecureFlagOnSessionCookie()
Copyright © 2016 The Open Web Application Security Project (OWASP). All rights reserved.