cancel
Showing results for 
Search instead for 
Did you mean: 

Problem in Evaluating the Logon Ticket

Former Member
0 Kudos

Hi all,

I am getting an error while trying to evaluate the SAP logon ticket. In the forum i found a code snippet and seems it will work. But for trying out the code I need the packages that contain the classes IWebContextAdapter and IPrincipal. From where can i get those packages?

This is the error i am getting...

<i>Error during initialization of SSO2TICKET:

MySapInitialize failed: rc= 14

static part ends.

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

at com.mysap.sso.SSO2Ticket.evalLogonTicket(Native Method)</i>

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi

For Iprinciple you need to import com.sap.security.api jar file.

goto your project and properties -javabuildpath- addexternal jars com.sap.security-lib-com.sap.security.api.

This is for Iprinciple.

Thanks

Lohi.

Former Member
0 Kudos

Hi thank you for you help,

I am sorry i forgot to tell one thing. The application is not in WebDynpro. Its a java application. Can i use the "com.sap.security.api " package in my java application? If yes, from where can I download that?

Former Member
0 Kudos

Hi,

you can import in java also for IPrinciple this.

goto your Application right click java build path and add external jars- and select this path

C:\Program Files\SAP\JDT\eclipse\plugins\com.sap.security\lib

here u have jar file com.sap.security.api.

Thanks

Lohi.

Answers (0)