SiteMinder
Java SDK r12.0 SP2


com.netegrity.policyserver.smapi
Class APIContextLogger

java.lang.Object
  |
  +--com.netegrity.policyserver.smapi.APIContext
        |
        +--com.netegrity.policyserver.smapi.APIContextLogger
Direct Known Subclasses:
SmAPIContextLogger

public class APIContextLogger
extends APIContext

This class is a wrapper for the SmLogger class from common/smerrlog-java, which provides logging and tracing access to the common C++ logging facility. This class is meant to eventually be exposed to customer plugins for the SAML assertion generator and authentication scheme.


Field Summary
 
Fields inherited from class com.netegrity.policyserver.smapi.APIContext
SM_API_VERSION_V3, SM_API_VERSION_V4, SM_API_VERSION_V4_1
 
Method Summary
 void error(java.lang.String sFName, java.lang.String sMsg)
          Log an error message from a customer plugin.
 void log(java.lang.String sFName, java.lang.String sMsg)
          Log an info or error message from a customer plugin.
 void trace(java.lang.String sFName, java.lang.String sFuncName, java.lang.String sMsg)
          Log a trace message from a customer plugin.
 
Methods inherited from class com.netegrity.policyserver.smapi.APIContext
error, getAppSpecificContext, getAttrMap, getVersion, log, trace
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

log

public void log(java.lang.String sFName,
                java.lang.String sMsg)
Log an info or error message from a customer plugin.

Parameters:
sFName - the file name which is logging this message.
sMsg - the message to be logged.

trace

public void trace(java.lang.String sFName,
                  java.lang.String sFuncName,
                  java.lang.String sMsg)
Log a trace message from a customer plugin.

Parameters:
sFName - the file name which is logging this message.
sFuncName - the name of the function logging this message.
sMsg - the message to be logged.

error

public void error(java.lang.String sFName,
                  java.lang.String sMsg)
Log an error message from a customer plugin.

Parameters:
sFName - the file name which is logging this message.
sMsg - the message to be logged.

SiteMinder
Java SDK r12.0 SP2

Fri 11/06/2009

http://ca.com
Copyright (c) 2009 CA.