cancel
Showing results for 
Search instead for 
Did you mean: 

import com.sap.security.api gives error

Former Member
0 Kudos

Hi,

I am not able to include com.sap.security.api. It is not available.

import com.sap.security.api.IUser;

Kindly advise how can I add it ?

thanks

B

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ,

com.sap.security.api.jar file is missing.

1.Add the jar file as a external jar to your prject.

WD navigator->rigghtclick+Properties->Java Build path->Browse and add as a external Jar.

NOTE:copy the jar file into local machine

2.Or else go to DC project workspace and directly palce the jar under lib folder.

3.Rebuild the project.

Regards,

Lavanya.G

bhakti2
Active Participant
0 Kudos

Hi,

I have other existing project in my NWDS in which this import com.sap.security.api .IUser is already there

it doesnt give any error

it means that I should find the jar file in that project. But I am not able to find it.

so should I look somewhere else ?

thanks

B

bhakti2
Active Participant
0 Kudos

Hi Lavanya,

Could you please explain how do I put the file in the lib folder ? I have put it in _comp/lib folder but still the error doesnt go so I cant build the project

thanks

b

Answers (2)

Answers (2)

bhakti2
Active Participant
0 Kudos

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

srinivas_sistu
Active Contributor
0 Kudos

Hi,

To include that API first we should add the required JAR files (UME).

U need to add com.sap.security.api.jar file to the project .

u get this file in NWDS pluins.

<installation dir>\SAP\IDE\IDE70\eclipse\plugins\com.sap.security_2.0.0\lib

Please check the below link...

/thread/28462 [original link is broken]

https://help.sap.com/javadocs/NW04S/current/se/index.html

https://wiki.sdn.sap.com/wiki/display/EP/Pointers%20for%20Troubleshooting%20Portal%20Runtime%20Error...

Regards,

SrinivaS

bhakti2
Active Participant
0 Kudos

hi Srinivas and Lavanya,

thanks for the response

I have taken the file from your specified location

copied on desktop

added in in project via properties - Jave Build path - add external jar

and now the error is gone from my code

but the question is I have browsed this file from my desktop and added. how will it be available on server when I deploy ?

thanks

B