@Singleton public class SessionLogging extends Object implements InternalSessionListener
Constructor and Description |
---|
SessionLogging(Debug sessionDebug,
SessionServiceConfig serviceConfig,
PrivilegedAction<SSOToken> adminTokenAction) |
Modifier and Type | Method and Description |
---|---|
void |
logEvent(SessionInfo sessionInfo,
SessionEventType eventType,
long timestamp)
Log the event based on the values contained in the SessionInfo
|
void |
onEvent(InternalSessionEvent event)
Callback method allowing observers to receive notification of
InternalSession events. |
@Inject public SessionLogging(@Named(value="amSession") Debug sessionDebug, SessionServiceConfig serviceConfig, PrivilegedAction<SSOToken> adminTokenAction)
public void onEvent(InternalSessionEvent event)
InternalSessionListener
InternalSession
events.onEvent
in interface InternalSessionListener
event
- Non null InternalSessionEvent
describing the event which occurred.public void logEvent(SessionInfo sessionInfo, SessionEventType eventType, long timestamp)
sessionInfo
- SessionInfoeventType
- event type.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.