Reporting From SSOSessions

I have a requirement of showing SAML session Logs.
For that I have store SSO session in database as per component space guide.
Now I wanted to do some reporting. At the moment What i saw data is saved in binary format i think
[SessionID] uvdu4biakpygzxd51yth2sgw:ServiceProviderSession
SessionObject 0x0001000000FFFFFFFF010000…
Any idea in which object i should deserialize it for reporting purpose
Haven’t found any such thing in user guide

The SSO session object is not exposed externally. It’s for internal use only.
What information were you after?
The ComponentSpace.SAML2.Notifications.ISAMLObserver interface is available for receiving various events associated with SAML SSO and SLO.
One of its intended uses is for auditing.
Perhaps that’s what you’re after.

[quote]
ComponentSpace - 8/18/2017
The SSO session object is not exposed externally. It’s for internal use only.
What information were you after?
The ComponentSpace.SAML2.Notifications.ISAMLObserver interface is available for receiving various events associated with SAML SSO and SLO.
One of its intended uses is for auditing.
Perhaps that’s what you’re after.
[/quote]

I have bit limited knowledge about it. I thought after de-serializing it I can found out some knowledge.I were thinking that it might have details about when was SSO session was started, logout, what custom assertions are there e.t.c.
Which i can use on logging session/audit log

You’re better to use the ComponentSpace.SAML2.Notifications.ISAMLObserver interface.
There’s a AbstractSAMLObserver you can extend if you just want to observe certain events.
You call SAMLObservable.Subscribe to subscribe to these events.
For example:
SAMLObservable.Subscribe(new MySAMLObserver());

[quote]
ComponentSpace - 8/20/2017
You’re better to use the ComponentSpace.SAML2.Notifications.ISAMLObserver interface.
There’s a AbstractSAMLObserver you can extend if you just want to observe certain events.
You call SAMLObservable.Subscribe to subscribe to these events.
For example:
SAMLObservable.Subscribe(new MySAMLObserver());
[/quote]

Is there any working example in ComonentSpace SAML2 samples
Thanks

No, but it’s just a matter of extending the AbstractSAMLObserver class and overriding the methods you’re interested in.
You register you observer by calling SAMLObservable.Subscribe.