Skip to Content
0
Former Member
Feb 19, 2007 at 12:17 PM

MySapEvalLogonTicketEx failed (Internal Error): SSO with custom WebApp

245 Views

Hi Friends,

I am trying to achieve SSO between SAP EP and custom Web App. I downloaded SAPSSOEXT and sapseculib from service.sap.com.

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= 9, 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.

        Object [] o = null;
        try 
      {
		// Validate logon ticket.
		String x ="/home/sapj2ee/verify.pse";
		 System.out.println(SSO2Ticket.getVersion());
		o = SSO2Ticket.evalLogonTicket(ticket, x, null);
		//System.out.println (o.toString());
        } 

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

Regards,

Nilz

Message was edited by:

nilz

Message was edited by:

nilz