Skip navigation links
A B C D E F G H I L M O R S T U V W 

A

add(Marker) - Method in class org.owasp.security.logging.MultiMarker
 
addProperty(IntervalProperty) - Method in class org.owasp.security.logging.util.DefaultIntervalLoggerModel
Add a new property to be included when printing the status message.
addProperty(IntervalProperty) - Method in interface org.owasp.security.logging.util.IntervalLoggerModel
Add a new property to be included when printing the status message.
addUnits(String) - Method in class org.owasp.security.logging.util.ByteIntervalProperty
Utility method to include the SI unit name.

B

bindSystemStreamsToSLF4J() - Static method in class org.owasp.security.logging.util.SecurityUtil
Redirect System.out and System.err streams to SLF4J logger.
bindSystemStreamsToSLF4J(Logger, Logger) - Static method in class org.owasp.security.logging.util.SecurityUtil
Redirect System.out and System.err streams to the given SLF4J loggers.
buf - Variable in class org.owasp.security.logging.util.OutputStreamRedirector
The internal buffer where data is stored.
ByteIntervalProperty - Class in org.owasp.security.logging.util
Stores property key/value pairs and appends SI unit names to the value.
ByteIntervalProperty(String) - Constructor for class org.owasp.security.logging.util.ByteIntervalProperty
Constructor

C

close() - Method in class org.owasp.security.logging.util.OutputStreamRedirector
Closes this output stream and releases any system resources associated with this stream.
CONFIDENTIAL - Static variable in class org.owasp.security.logging.SecurityMarkers
 
CONFIDENTIAL_MARKER_NAME - Static variable in class org.owasp.security.logging.SecurityMarkers
 
contains(Marker) - Method in class org.owasp.security.logging.MultiMarker
 
contains(String) - Method in class org.owasp.security.logging.MultiMarker
 
count - Variable in class org.owasp.security.logging.util.OutputStreamRedirector
The number of valid bytes in the buffer.

D

DEFAULT_BUFFER_LENGTH - Static variable in class org.owasp.security.logging.util.OutputStreamRedirector
The default number of bytes in the buffer.
DefaultIntervalLoggerModel - Class in org.owasp.security.logging.util
Default implementation of a IntervalLoggerModel.
DefaultIntervalLoggerModel() - Constructor for class org.owasp.security.logging.util.DefaultIntervalLoggerModel
 
DefaultIntervalLoggerView - Class in org.owasp.security.logging.util
The DefaultIntervalLoggerView formats the key/value pairs for logging using the following format, Watchdog: property1=value1, property2=value3, ...
DefaultIntervalLoggerView() - Constructor for class org.owasp.security.logging.util.DefaultIntervalLoggerView
 
DefaultIntervalProperty - Class in org.owasp.security.logging.util
Stores property key/value pairs.
DefaultIntervalProperty(String) - Constructor for class org.owasp.security.logging.util.DefaultIntervalProperty
Constructor
destroy() - Method in class org.owasp.security.logging.mdc.MDCFilter
 
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class org.owasp.security.logging.mdc.MDCFilter
Sample filter that populates the MDC on every request.

E

equals(Object) - Method in class org.owasp.security.logging.MultiMarker
 
escapeNLFChars(String) - Static method in class org.owasp.security.logging.Utils
Replace any NLF (newline function) with an underscore to prevent log injection attacks.
EVENT_FAILURE - Static variable in class org.owasp.security.logging.SecurityMarkers
 
EVENT_FAILURE_MARKER_NAME - Static variable in class org.owasp.security.logging.SecurityMarkers
 
EVENT_SUCCESS - Static variable in class org.owasp.security.logging.SecurityMarkers
 
EVENT_SUCCESS_MARKER_NAME - Static variable in class org.owasp.security.logging.SecurityMarkers
 
EVENT_UNSPECIFIED_MARKER_NAME - Static variable in class org.owasp.security.logging.SecurityMarkers
 
execute(HttpServletRequest) - Method in interface org.owasp.security.logging.mdc.IPlugin
Execute the plugin's action and place information into the diagnostic context.
execute(HttpServletRequest) - Method in class org.owasp.security.logging.mdc.plugins.ForwardedIPAddressPlugin
 
execute(HttpServletRequest) - Method in class org.owasp.security.logging.mdc.plugins.IPAddressPlugin
 
execute(HttpServletRequest) - Method in class org.owasp.security.logging.mdc.plugins.SessionPlugin
 
execute(HttpServletRequest) - Method in class org.owasp.security.logging.mdc.plugins.UsernamePlugin
 

F

flush() - Method in class org.owasp.security.logging.util.OutputStreamRedirector
Flushes this output stream and forces any buffered output bytes to be written out.
formatStatusMessage(IntervalProperty[]) - Method in class org.owasp.security.logging.util.DefaultIntervalLoggerView
Format the message to be logged.
formatStatusMessage(IntervalProperty[]) - Method in interface org.owasp.security.logging.util.IntervalLoggerView
Format the message to be logged.
ForwardedIPAddressPlugin - Class in org.owasp.security.logging.mdc.plugins
This plugin adds the request's remote IP address to the MDC by using the value of the X-Forwarded-For header appended by a load balancer.
ForwardedIPAddressPlugin() - Constructor for class org.owasp.security.logging.mdc.plugins.ForwardedIPAddressPlugin
 

G

getControllerInstance() - Static method in class org.owasp.security.logging.util.SecurityLoggingFactory
Return a single instance of the IntervalLoggerController.
getMarker(Marker...) - Static method in class org.owasp.security.logging.SecurityMarkers
 
getName() - Method in class org.owasp.security.logging.MultiMarker
 
getName() - Method in class org.owasp.security.logging.util.DefaultIntervalProperty
Return the property name.
getName() - Method in interface org.owasp.security.logging.util.IntervalProperty
Return the property name.
getProperties() - Method in class org.owasp.security.logging.util.DefaultIntervalLoggerModel
Return all properties.
getProperties() - Method in interface org.owasp.security.logging.util.IntervalLoggerModel
Return all properties.
getValue() - Method in class org.owasp.security.logging.util.ByteIntervalProperty
Return the value in bytes with SI unit name includes.
getValue() - Method in class org.owasp.security.logging.util.DefaultIntervalProperty
Return the value.
getValue() - Method in interface org.owasp.security.logging.util.IntervalProperty
Return the value.

H

hasBeenClosed - Variable in class org.owasp.security.logging.util.OutputStreamRedirector
Used to maintain the contract of OutputStreamRedirector.close().
hasChildren() - Method in class org.owasp.security.logging.MultiMarker
 
hashCode() - Method in class org.owasp.security.logging.MultiMarker
 
hasReferences() - Method in class org.owasp.security.logging.MultiMarker
 

I

init(FilterConfig) - Method in interface org.owasp.security.logging.mdc.IPlugin
Initialize the plugin and load any required resources.
init(FilterConfig) - Method in class org.owasp.security.logging.mdc.MDCFilter
 
init(FilterConfig) - Method in class org.owasp.security.logging.mdc.plugins.ForwardedIPAddressPlugin
 
init(FilterConfig) - Method in class org.owasp.security.logging.mdc.plugins.IPAddressPlugin
 
init(FilterConfig) - Method in class org.owasp.security.logging.mdc.plugins.SessionPlugin
 
init(FilterConfig) - Method in class org.owasp.security.logging.mdc.plugins.UsernamePlugin
 
IntervalLoggerController - Interface in org.owasp.security.logging.util
The IntervalLoggerController orchestrates background thread logging behavior.
IntervalLoggerModel - Interface in org.owasp.security.logging.util
The IntervalLoggerModel framework for managing property information.
IntervalLoggerView - Interface in org.owasp.security.logging.util
Format key/value pairs for logging and log status messages.
IntervalProperty - Interface in org.owasp.security.logging.util
Framework for storing property data.
IPADDRESS - Static variable in class org.owasp.security.logging.mdc.MDCFilter
 
IPAddressPlugin - Class in org.owasp.security.logging.mdc.plugins
This plugin adds the request's remote IP address to the MDC in the most basic way possible: By calling request.getRemoteAddr().
IPAddressPlugin() - Constructor for class org.owasp.security.logging.mdc.plugins.IPAddressPlugin
 
IPlugin - Interface in org.owasp.security.logging.mdc
This interface defines a plugin to the MDC filter.
isEmpty(String) - Static method in class org.owasp.security.logging.Utils
Determines if a string is null or empty
isError - Variable in class org.owasp.security.logging.util.OutputStreamRedirector
 
iterator() - Method in class org.owasp.security.logging.MultiMarker
 

L

LINE_SEPERATOR - Static variable in class org.owasp.security.logging.util.OutputStreamRedirector
 
log - Variable in class org.owasp.security.logging.util.OutputStreamRedirector
 
logCommandLineArguments(String[]) - Static method in class org.owasp.security.logging.util.SecurityUtil
Log command line arguments.
LOGIN_ID - Static variable in class org.owasp.security.logging.mdc.MDCFilter
 
logJavaSystemProperties() - Static method in class org.owasp.security.logging.util.SecurityUtil
Log Java system properties.
logMessage(String) - Method in class org.owasp.security.logging.util.DefaultIntervalLoggerView
Log the formatted message at the INFO priority.
logMessage(String) - Method in interface org.owasp.security.logging.util.IntervalLoggerView
Log the formatted message.
logMessage(String) - Static method in class org.owasp.security.logging.util.SecurityUtil
Log the formatted message at the INFO priority.
logShellEnvironmentVariables() - Static method in class org.owasp.security.logging.util.SecurityUtil
Log shell environment variables associated with Java process.

M

MDCFilter - Class in org.owasp.security.logging.mdc
J2EE filter to add request information to the logging context.
MDCFilter() - Constructor for class org.owasp.security.logging.mdc.MDCFilter
 
MultiMarker - Class in org.owasp.security.logging
 
MultiMarker(Marker...) - Constructor for class org.owasp.security.logging.MultiMarker
 

O

org.owasp.security.logging - package org.owasp.security.logging
 
org.owasp.security.logging.mdc - package org.owasp.security.logging.mdc
 
org.owasp.security.logging.mdc.plugins - package org.owasp.security.logging.mdc.plugins
 
org.owasp.security.logging.util - package org.owasp.security.logging.util
 
OutputStreamRedirector - Class in org.owasp.security.logging.util
 
OutputStreamRedirector(Logger, boolean) - Constructor for class org.owasp.security.logging.util.OutputStreamRedirector
Creates the LoggingOutputStream to flush to the given Category.

R

refresh() - Method in class org.owasp.security.logging.util.DefaultIntervalLoggerModel
Signal properties to update themselves.
refresh() - Method in class org.owasp.security.logging.util.DefaultIntervalProperty
Signal to update the property value.
refresh() - Method in interface org.owasp.security.logging.util.IntervalLoggerModel
Signal properties to update themselves.
refresh() - Method in interface org.owasp.security.logging.util.IntervalProperty
Signal to update the property value.
remove(Marker) - Method in class org.owasp.security.logging.MultiMarker
 
removeProperty(IntervalProperty) - Method in class org.owasp.security.logging.util.DefaultIntervalLoggerModel
Remove property from status messages.
removeProperty(IntervalProperty) - Method in interface org.owasp.security.logging.util.IntervalLoggerModel
Remove property from status messages.
replaceCRLFWithUnderscore(String) - Static method in class org.owasp.security.logging.Utils
Replace any carriage returns and line feeds with an underscore to prevent log injection attacks.
RESTRICTED - Static variable in class org.owasp.security.logging.SecurityMarkers
 
RESTRICTED_MARKER_NAME - Static variable in class org.owasp.security.logging.SecurityMarkers
 

S

SECRET - Static variable in class org.owasp.security.logging.SecurityMarkers
 
SECRET_MARKER_NAME - Static variable in class org.owasp.security.logging.SecurityMarkers
 
SECURITY_AUDIT - Static variable in class org.owasp.security.logging.SecurityMarkers
 
SECURITY_AUDIT_MARKER_NAME - Static variable in class org.owasp.security.logging.SecurityMarkers
 
SECURITY_FAILURE - Static variable in class org.owasp.security.logging.SecurityMarkers
 
SECURITY_FAILURE_MARKER_NAME - Static variable in class org.owasp.security.logging.SecurityMarkers
 
SECURITY_MARKER_NAME - Static variable in class org.owasp.security.logging.SecurityMarkers
 
SECURITY_SUCCESS - Static variable in class org.owasp.security.logging.SecurityMarkers
 
SECURITY_SUCCESS_MARKER_NAME - Static variable in class org.owasp.security.logging.SecurityMarkers
 
SecurityLoggingFactory - Class in org.owasp.security.logging.util
Factory for obtaining security logging singleton utility classes.
SecurityMarkers - Class in org.owasp.security.logging
SLF4J markers to mark security related events
SecurityMarkers() - Constructor for class org.owasp.security.logging.SecurityMarkers
 
SecurityUtil - Class in org.owasp.security.logging.util
Various logging features to consider adding to your own programs.
SESSION - Static variable in class org.owasp.security.logging.mdc.MDCFilter
 
SessionPlugin - Class in org.owasp.security.logging.mdc.plugins
This plugin adds a hash of the session ID to the MDC.
SessionPlugin() - Constructor for class org.owasp.security.logging.mdc.plugins.SessionPlugin
 
setStatusMessageModel(IntervalLoggerModel) - Method in interface org.owasp.security.logging.util.IntervalLoggerController
Set the status message model.
setStatusMessageView(IntervalLoggerView) - Method in interface org.owasp.security.logging.util.IntervalLoggerController
Set the status message view.
start() - Method in interface org.owasp.security.logging.util.IntervalLoggerController
Start the IntervalLogger instance and log status each default 15-second interval.
start(int) - Method in interface org.owasp.security.logging.util.IntervalLoggerController
Start the IntervalLogger instance and log status each user defined interval.
stop() - Method in interface org.owasp.security.logging.util.IntervalLoggerController
Stop background thread at earliest opportunity.
syserr - Static variable in class org.owasp.security.logging.util.SecurityUtil
 
sysout - Static variable in class org.owasp.security.logging.util.SecurityUtil
 

T

TOP_SECRET - Static variable in class org.owasp.security.logging.SecurityMarkers
 
TOP_SECRET_MARKER_NAME - Static variable in class org.owasp.security.logging.SecurityMarkers
 
toSHA(String) - Static method in class org.owasp.security.logging.Utils
Converts an input String to a SHA hash.
toSHA(byte[]) - Static method in class org.owasp.security.logging.Utils
Converts an input byte array to a SHA hash.
toString() - Method in class org.owasp.security.logging.MultiMarker
 

U

unbindSystemStreams() - Static method in class org.owasp.security.logging.util.SecurityUtil
Unbined bound system loggers and restore these streams to their original state.
UsernamePlugin - Class in org.owasp.security.logging.mdc.plugins
This is an example MDC plugin that gets a username from the HTTP session and places it in the MDC context for access by the logging system.
UsernamePlugin() - Constructor for class org.owasp.security.logging.mdc.plugins.UsernamePlugin
 
Utils - Class in org.owasp.security.logging
Utilities methods for logging.
Utils() - Constructor for class org.owasp.security.logging.Utils
 

V

value - Variable in class org.owasp.security.logging.util.DefaultIntervalProperty
 

W

write(int) - Method in class org.owasp.security.logging.util.OutputStreamRedirector
Writes the specified byte to this output stream.
A B C D E F G H I L M O R S T U V W 

Copyright © 2021. All rights reserved.