org.owasp.esapi
Class ESAPI
java.lang.Object
org.owasp.esapi.ESAPI
- public class ESAPI
- extends java.lang.Object
ESAPI locator class to make it easy to get a concrete implementation of the
various ESAPI classes. Use the setters to override the reference implemnentations
with instances of any custom ESAPI implementations.
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
accessController
public static IAccessController accessController()
- Returns:
- the accessController
setAccessController
public static void setAccessController(IAccessController accessController)
- Parameters:
accessController - the accessController to set
authenticator
public static IAuthenticator authenticator()
- Returns:
- the authenticator
setAuthenticator
public static void setAuthenticator(IAuthenticator authenticator)
- Parameters:
authenticator - the authenticator to set
encoder
public static IEncoder encoder()
- Returns:
- the encoder
setEncoder
public static void setEncoder(IEncoder encoder)
- Parameters:
encoder - the encoder to set
encryptor
public static IEncryptor encryptor()
- Returns:
- the encryptor
setEncryptor
public static void setEncryptor(IEncryptor encryptor)
- Parameters:
encryptor - the encryptor to set
executor
public static IExecutor executor()
- Returns:
- the executor
setExecutor
public static void setExecutor(IExecutor executor)
- Parameters:
executor - the executor to set
httpUtilities
public static IHTTPUtilities httpUtilities()
- Returns:
- the httpUtilities
setHttpUtilities
public static void setHttpUtilities(IHTTPUtilities httpUtilities)
- Parameters:
httpUtilities - the httpUtilities to set
intrusionDetector
public static IIntrusionDetector intrusionDetector()
- Returns:
- the intrusionDetector
setIntrusionDetector
public static void setIntrusionDetector(IIntrusionDetector intrusionDetector)
- Parameters:
intrusionDetector - the intrusionDetector to set
getLogger
public static ILogger getLogger(java.lang.Class clazz)
getLogger
public static ILogger getLogger(java.lang.String name)
log
public static ILogger log()
setLogger
public static void setLogger(ILogFactory factory)
- Parameters:
factory - the log factory to set
randomizer
public static IRandomizer randomizer()
- Returns:
- the randomizer
setRandomizer
public static void setRandomizer(IRandomizer randomizer)
- Parameters:
randomizer - the randomizer to set
securityConfiguration
public static ISecurityConfiguration securityConfiguration()
- Returns:
- the securityConfiguration
setSecurityConfiguration
public static void setSecurityConfiguration(ISecurityConfiguration securityConfiguration)
- Parameters:
securityConfiguration - the securityConfiguration to set
validator
public static IValidator validator()
- Returns:
- the validator
setValidator
public static void setValidator(IValidator validator)
- Parameters:
validator - the validator to set