Skip to Content
author's profile photo Former Member
Former Member

Usermanagement API in EP6 SP2

Hi,

In the API JavaDoc for com.sap.security.api.IUserFactory class following methods are described:

invalidateCacheEntry

invalidateCacheEntryByLogonId

invalidateCacheEntryByUniqueName

But those methods are actually missing from the binary interface contained in com.sap.security.api.jar. We are using EP6 SP2 Patch3, J2EE 6.20 PL 20. Do I need a more recent patch?

Thanks

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Jun 04, 2004 at 07:43 AM

    Hello Viktor,

    Sorry, I don't have an answer to your question. my installation of EP6.0 sp2, patch 2 HF4 PL 20 does not have this too.

    Since you seem to use the API's I was wondering if you could solve my problem. I am initializing the UMFactory. When I try the following piece of code

    UMFactory umf = UMFactory.getInstance();

    IUserFactory _userFactory = UMFactory.getUserFactory();

    I get an exception “java.lang.IllegalStateException: Could not initialize UMFactory! Please set property 'ume.cfg.path' or call UMFactory.initialize() first”

    After going thru http://help.sap.com/saphelp_47x200/helpdata/en/6d/4cc63d3b3ffb4fe10000000a114084/frameset.htm, it says that files loaded correctly into PCD will have the .bak extension. I have not found any files without the .bak extension. So, The EP6.0 installation was successful.

    Any ideas how I resolve this problem. If you could indicate, how you are initializing the UMFactory, that would be be great.

    Thanks

    Bhanu

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello all,

      I appreciate viktor would like us to respond to his query, unfortunately i dont have an answer to that either, howvever i have got another question in relation to HOW to use UMFactory.

      It seems that UMFactory can only be initialised if we have a portal environment running, does this mean we just create a portal applicatoin via Netweaver Developer studio or can we also create a servlet or may be an EJB which can utilise UME api? It seems that if we do create a servlet or an EJB app, then we need to include the portal libraries, if yes, then how do you figure which libraries to include etc...

      I guess i sort of lost as i am struggling to figure how to write a servlet or an EJB which utilises UME and can do updates to UME. What are the prerequisites and how do you know what they are? I dont think any of the javadocs i have read so far seem to suggest anything like it.

      I am trying to use Netweaver Developer Studio.

      I can quite clearly see from MARK HOCKINGS posting that he is importing portal logger api, now how have you written this app and how have you deployed it? Can you run this app via Netweaver Developer Studio, if yes then how?

      Any help is much appreciated.

      Thanks,

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.