| java.lang.Object com.nabhinc.portal.login.BaseLogger com.nabhinc.portal.login.LoginFileLogger
LoginFileLogger | public class LoginFileLogger extends BaseLogger implements LoginInterceptor(Code) | | An interceptor that logs log-in/out events to a file.
author: Padmanabh Dabke author: (c) 2002, 2003 Nabh Information Systems, Inc. All Rights Reserved. |
init | public void init(ServletConfig config) throws ServletException(Code) | | An interceptor instance is created and configured via a composite
XML element with tag "interceptor". After creating the interceptor
instance, the portal servlet initializes the instance using this
method. The config argument is the parsed interceptor XML element.
|
intercept | public void intercept(String sessionID, String userName, int logType, String host, String addr)(Code) | | This method is invoked on each interceptor that is attached to a portlet
before the request is sent to the portlet.
Parameters: sessionID - ID of the current session. Parameters: userName - Name of the current user. Parameters: req - HttpServletRequest object. Parameters: host - The remote/client host name. Parameters: addr - The remote/client IP address. |
log | public void log(String message, java.util.Date date)(Code) | | Log the specified message to the log file, switching files if the date
has changed since the previous log call.
Parameters: message - Message to be logged Parameters: date - the current Date object (so this method doesn't need tocreate a new one) |
setDelimiter | public void setDelimiter(String lflDelimiter)(Code) | | |
setLogFilePrefix | public void setLogFilePrefix(String lflLogFilePrefix)(Code) | | |
setLogFileSuffix | public void setLogFileSuffix(String lflLogFileSuffix)(Code) | | |
|
|