cancel
Showing results for 
Search instead for 
Did you mean: 

Unable to read SSO Ticket with SAPSSOEXT - MySapEvaLogonTicketEx failed

Former Member
0 Kudos

Hello,

we are trying to read a SSO Ticket from our SAP System by an external Java application using the SAPSSOEXT libraries.

The java application was able to find the library and the code SS02Ticket.getVersion() returns SAPSSOEXT 2 .

However after the call of:

Object[] o = SSO2Ticket.evalLogonTicket(base64Value, keystorePath, keystorePwd);

we receive the following exception:

java.lang.Exception: MySapEvalLogonTicketEx failed: standard error= 9, ssf error= 0

at SSO2Ticket.evalLogonTicket(Native Method)

at SingleSignOnFilter.getUserFromRequest(SingleSignOnFilter.java:139)

at SingleSignOnFilter.doFilter(SingleSignOnFilter.java:77)

.....

This error is defined in the C-Headerfile as the following:

  1. define MYSAP_INTERNAL_ERROR (SAPRETURN)9 /* Internal error */

Does anyone knows what's going wrong?

Best regards

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Initializing the SECULIB is mandatory. Maybe you do not call:

init(SECULIB)

In the JSP example this line is missing. I had the same problem.

Gerhard

Former Member
0 Kudos

Hello

There is an alternative way to validate sap logon ticket http://www.zope.org/Members/Dirk.Datzert/MySapSsoSupport/

Check out also this thread :

/message/2957736#2957736 [original link is broken]

Hope this help

Regards

Jakub Krecicki

Former Member
0 Kudos

Hi

See this thread

Kind Regards

Mukesh