Package com.iplanet.dpro.session.service
Class SessionLogging
- java.lang.Object
-
- com.iplanet.dpro.session.service.SessionLogging
-
- All Implemented Interfaces:
InternalSessionListener
@Singleton public class SessionLogging extends Object implements InternalSessionListener
Responsible for logging Session events to the audit logs amSSO.access and amSSO.error.- Since:
- 13.0.0
-
-
Constructor Summary
Constructors Constructor Description SessionLogging(Debug sessionDebug, SessionServiceConfig serviceConfig, PrivilegedAction<SSOToken> adminTokenAction)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidlogEvent(SessionInfo sessionInfo, SessionEventType eventType, long timestamp)Log the event based on the values contained in the SessionInfovoidonEvent(InternalSessionEvent event)Callback method allowing observers to receive notification ofInternalSessionevents.
-
-
-
Constructor Detail
-
SessionLogging
@Inject public SessionLogging(@Named("amSession") Debug sessionDebug, SessionServiceConfig serviceConfig, PrivilegedAction<SSOToken> adminTokenAction)
-
-
Method Detail
-
onEvent
public void onEvent(InternalSessionEvent event)
Description copied from interface:InternalSessionListenerCallback method allowing observers to receive notification ofInternalSessionevents.- Specified by:
onEventin interfaceInternalSessionListener- Parameters:
event- Non nullInternalSessionEventdescribing the event which occurred.
-
logEvent
public void logEvent(SessionInfo sessionInfo, SessionEventType eventType, long timestamp)
Log the event based on the values contained in the SessionInfo- Parameters:
sessionInfo- SessionInfoeventType- event type.
-
-