Skip to Content
0
Former Member
May 17, 2007 at 09:19 AM

MySapEvalLogonTicketEx failed:standard error= 4, ssf error=0 : Custom SSO

164 Views

Hi Friends,

I am trying to achieve SSO between SAP EP and custom Web App. The Custom Web Application is running on SAP J2ee 6.20 on Linux 32 bit.

I downloaded SAPSSOEXT and sapseculib from service.sap.com for the Linux platform.

Using SSO2Ticket class in the jsp file, I am trying to decrypt the ticket. But ending up receiving "java.lang.Exception: MySapEvalLogonTicketEx failed: standard error= 4, ssf error= 0" error.

The SPSSOEXT loaded successfully and am able to print the version of it using getVersion method. JSP throws an exception on execution of evalLogonTicket method.

All the required files, verify.pse, sapssoext.so and sapsecu.so have got all permissions.

The time of EP Machine and the linux machie is almost same (hardly diference of 2-3 seconds.)

The meaning of error codes:

Standard Error 4:

#define MYSAP_EXPIRED (SAPRETURN)4 /* Ticket expired */

SSF Error 0:

#define SSF_API_OK 0 /*operation ok */

I dont understand why the ticket is expired all the time.

Help needed. Any Suggessions are welcome.

Regards,

Nilz