Skip to Content
0
Former Member
Jun 25, 2008 at 10:47 AM

error in resourceontext

13 Views

Hi

i am trying to build an portal app which access KM using the following code

IUser epUser = (IUser)request.getUser().getUser();

ResourceContext ctx = new ResourceContext(epUser);

String repository = "/documents";

RID rid=RID.getRID(repository);

ICollection collectiona =(ICollection) (ResourceFactory.getInstance().getResource(rid, ctx));

collectiona.createCollection(u201Cfolder_nameu201D,null);

but in the line resourcecontext i get a error the security and user management cannot be resolved

i am using nwds 7.1 with ep 7.11 sp3

i think it need two jar files

com.sap.security.api.ep.jar

com.sap.security.api.jar

i was unable to find the jar files.

any suggestions and help on this topic would be good

thanks