on 10-25-2005 4:15 PM - last edited on 02-04-2024 1:40 AM by postmig_api_4
Hi all,
I'm using user authemtication when I run my webdynpro application with the following code:
IWDClientUser wdUser = WDClientUser.forceLoggedInClientUser();
String user = wdUser.getSAPUser().getUniqueID();
if (!user.equals(null)){
String UserId = user.toString().toUpperCase().substring(16);
}
String lifnr = UserId.substring(3,UserId.lenght - 1);
lifnr = "0005" + lifnr;
but when I try to rebuild the project, I got this two error that doesn't allow me to do deploy.
The project was not built since its classpath is incomplete. Cannot find the class file for com.sap.security.api.IUser. Fix the classpath then try rebuilding this project.
This compilation unit indirectly references the missing type com.sap.security.api.IUser (typically some required class file is referencing a type outside the classpath).
Does anyone know about this topic?
Thanks,
Jesus.
Hi,
I am facing the same problem with my application.
I found the jar file from the given path. But I am not clear on how to use it. Can anybody help me out?
Thanks and Regards
Reena
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I finally added com.sap.security.api.jar to an "External Library" project, and added it in "Used DCs".
Assuming you are building DC's...
You'll find the jar under:
C:\Program Files\SAP\JDT\eclipse\plugins\com.sap.security\lib
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Are you sure that you have added the com.sap.security.api.jar file in the buildpath?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.