Quantcast
Viewing all articles
Browse latest Browse all 3876

MySapEvalLogonTicketEx failed (Internal Error): SSO with custom WebApp

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


Viewing all articles
Browse latest Browse all 3876

Trending Articles