public class LogUtil extends Object
LogUtil
class defines methods which are used by
Web Services Security (STS and WSS) compoment to write logs.Constructor and Description |
---|
LogUtil() |
Modifier and Type | Method and Description |
---|---|
static void |
access(Level level,
String msgid,
String[] data)
Logs message to Web Services access logs.
|
static void |
access(Level level,
String msgid,
String[] data,
Object session)
Logs message to Web Services access logs.
|
static void |
access(Level level,
String msgid,
String[] data,
Object session,
Map props)
Logs message to Web Services access logs.
|
static void |
error(Level level,
String msgid,
String[] data)
Logs error messages to Web Services error log.
|
static void |
error(Level level,
String msgid,
String[] data,
Object session)
Logs error messages to Web Services error log.
|
static void |
error(Level level,
String msgid,
String[] data,
Object session,
Map props)
Logs error messages to Web Services error log.
|
static boolean |
isAccessLoggable(Level level)
Checks if an access message of the given level would actually be logged
by this logger.
|
static boolean |
isErrorLoggable(Level level)
Checks if an error message of the given level would actually be logged
by this logger.
|
static boolean |
isLogEnabled()
Checks if the logging is enabled.
|
public static final String UNSUPPORTED_TOKEN_TYPE
public static final String CREATED_SAML11_ASSERTION
public static final String CREATED_SAML20_ASSERTION
public static final String ERROR_SIGNING_SAML_ASSERTION
public static final String ERROR_CREATING_SAML11_ASSERTION
public static final String ERROR_CREATING_SAML20_ASSERTION
public static final String IDENTITY_SUBJECT_NAME
public static final String ATTR_MAP_FOR_SP
public static final String SUCCESS_RETRIEVING_TOKEN_FROM_STS
public static final String ERROR_RETRIEVING_TOKEN_FROM_STS
public static final String SUCCESS_VALIDATE_REQUEST
public static final String REQUEST_TO_BE_VALIDATED
public static final String RESPONSE_TO_BE_SECURED
public static final String SUCCESS_SECURE_RESPONSE
public static final String REQUEST_TO_BE_SECURED
public static final String SUCCESS_SECURE_REQUEST
public static final String RESPONSE_TO_BE_VALIDATED
public static final String SUCCESS_VALIDATE_RESPONSE
public static final String AUTHENTICATION_FAILED
public static final String ERROR_PARSING_SOAP_HEADERS
public static final String ERROR_ADDING_SECURITY_HEADER
public static final String SIGNATURE_VALIDATION_FAILED
public static final String UNABLE_TO_SIGN
public static final String UNABLE_TO_ENCRYPT
public static final String UNABLE_TO_DECRYPT
public static final String DOMAIN
public static final String LOGIN_ID
public static final String IP_ADDR
public static final String MODULE_NAME
public static void access(Level level, String msgid, String[] data)
level
- the log level , these are based on those
defined in java.util.logging.Level, the values for
level can be any one of the following : msgid
- the message or a message identifier.data
- string array of dynamic data to be replaced in the message.public static void access(Level level, String msgid, String[] data, Object session)
level
- the log level , these are based on those
defined in java.util.logging.Level, the values for
level can be any one of the following : msgid
- the message or a message identifier.data
- string array of dynamic data to be replaced in the message.session
- the User's session objectpublic static void access(Level level, String msgid, String[] data, Object session, Map props)
level
- the log level , these are based on those
defined in java.util.logging.Level, the values for
level can be any one of the following : msgid
- the message or a message identifier.data
- string array of dynamic data to be replaced in the message.session
- the User's session objectprops
- extra log fieldspublic static void error(Level level, String msgid, String[] data)
level
- the log level , these are based on those
defined in java.util.logging.Level, the values for
level can be any one of the following : msgid
- the message or a message identifier.data
- string array of dynamic data to be replaced in the message.public static void error(Level level, String msgid, String[] data, Object session)
level
- the log level , these are based on those
defined in java.util.logging.Level, the values for
level can be any one of the following : msgid
- the message or a message identifier.data
- string array of dynamic data to be replaced in the message.session
- the User's Session object.public static void error(Level level, String msgid, String[] data, Object session, Map props)
level
- the log level , these are based on those
defined in java.util.logging.Level, the values for
level can be any one of the following : msgid
- the message or a message identifier.data
- string array of dynamic data to be replaced in the message.session
- the User's Session object.props
- extra log fieldspublic static boolean isLogEnabled()
public static boolean isAccessLoggable(Level level)
level
- a message logging level.public static boolean isErrorLoggable(Level level)
level
- a message logging level.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.