cancel
Showing results for 
Search instead for 
Did you mean: 

How to get details from a MYSAPSSO2 ticket with .NET

Former Member
0 Kudos

Hi All!

I have a MYSAPSSO2 ticket and need information about when it expires. This is an information that should be located somehow in the ticket.

When is use UrlDecode and do a Base64 decoding I see, that there seem to be some values available in the ticket. But I don't know how to interpret it and how to get the exact expiration time.

Can anyone help?

Actually I don't want to use any additional SDK and I would prefer to do it with native .NET functions.

Thanks in advance!!!

Cheers!

Accepted Solutions (0)

Answers (1)

Answers (1)

MarkusTolksdorf
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Patrick,

the only library available is the SAPSSOEXT library, which is discussed in more detail in   http://scn.sap.com/thread/240846. The downloadable archive contains sample code for several runtimes - including .NET. However, it does not offer parsing capabilities so that your wish cannot fulfilled completely. But you can validate a ticket and if it's expired, you can recognize that. Don't know, whether this is sufficient for you, but it's at least a work-around.

Best regards,

Markus