com.iplanet.log
Class LogManager

java.lang.Object
  |
  +--com.iplanet.log.LogManager

Deprecated. This class has been deprecated. Please use com.sun.identity.log.Logger.

public class LogManager
extends java.lang.Object

This class LogManager is the class which provides a conversion layer from the Sun ONE Identity Server5.1 log API to Sun ONE Identity Server6.0 log API.


Field Summary
 SSOToken token
          Deprecated.  
 
Constructor Summary
LogManager(com.iplanet.dpro.session.Session sess)
          Deprecated. Construct a Sun ONE Identity Server 5.1 log manager.
LogManager(com.iplanet.dpro.session.SessionID sid)
          Deprecated. Construct a Sun ONE Identity Server 5.1 log manager.
LogManager(SSOToken token)
          Deprecated. Construct a Sun ONE Identity Server 5.1 log manager.
 
Method Summary
 void access(LogRecord lr, java.lang.String logName)
          Deprecated. Write a log record to an access log.
 void create(java.lang.String logName)
          Deprecated. This method no longer does anything.
 void error(LogRecord lr, java.lang.String logName)
          Deprecated. Write a log record to an error log.
 void write(LogRecord lr, java.lang.String logName)
          Deprecated. Write a log record to a log.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

token

public SSOToken token
Deprecated. 
Constructor Detail

LogManager

public LogManager(SSOToken token)
Deprecated. 
Construct a Sun ONE Identity Server 5.1 log manager.
Parameters:
token - The SSOToken which is used for filling up log details and to prove the client's authorization.

LogManager

public LogManager(com.iplanet.dpro.session.Session sess)
Deprecated. 
Construct a Sun ONE Identity Server 5.1 log manager.
Parameters:
sess - Session which will be used for filling up the log details and also for proving the clients authorization to log.

LogManager

public LogManager(com.iplanet.dpro.session.SessionID sid)
Deprecated. 
Construct a Sun ONE Identity Server 5.1 log manager.
Parameters:
sid - SessionID which will be used for filling up the log details and also for proving the clients authorization to log.
Method Detail

create

public void create(java.lang.String logName)
            throws LogException
Deprecated. 
This method no longer does anything. The creation will be done at the time of writing.
Parameters:
logName - A log to be created. A valid logName should not contain any "-".
Throws:
LogException - This is no longer valid.

access

public void access(LogRecord lr,
                   java.lang.String logName)
            throws LogException
Deprecated. 
Write a log record to an access log. It allows an application to submit logging information to a log that application chooses.
Parameters:
logName - A log to which the application wants to submit a log record.
lr - A Sun ONE Identity Server 5.1 log record to be written to the log.
Throws:
LogException - Can't be thrown any longer because jdk1.4 log API log method doesn't throw any exception. But it is here for compatibility with existing client code.

error

public void error(LogRecord lr,
                  java.lang.String logName)
           throws LogException
Deprecated. 
Write a log record to an error log. It allows an application to submit logging information to a log that application chooses.
Parameters:
lr - A Sun ONE Identity Server 5.1 log record to be written to the log.
logName - A log to which the application wants to submit a log record.
Throws:
LogException - Can't be thrown any longer because jdk1.4 log API log method doesn't throw any exception. But it is here for compatibility with existing client code.

write

public void write(LogRecord lr,
                  java.lang.String logName)
           throws LogException
Deprecated. 
Write a log record to a log. It allows an application to submit logging information to a log that application chooses.
Parameters:
lr - The Sun ONE Identity Server 5.1 log record.
logName - The logName to which the log record is to be written.
Throws:
LogException - Can't be thrown any longer because jdk1.4 log API log method doesn't throw any exception. But it is here for compatibility with existing client code.