1. Get rid of all advertisements and get unlimited access to documents by upgrading to Premium Membership. Upgrade to Premium Now and also get a Premium Badge!

Problem with executeService() Java code and Active Directory

Discussion in 'Oracle Webcenter Suite (formerly Oracle ECM)' started by idcChris, Sep 7, 2009.

  1. idcChris

    idcChris Active Member

    Messages:
    16
    Likes Received:
    4
    Trophy Points:
    90
    Location:
    Germany
    Hello,

    I have got a problem and I hope the someone kann solve it.

    I wrote a custom java class calling a service (e.g. DOC_INFO_BY_NAME). I'm using the javacode from bex book (executeService()).
    If I trie it with a local or a global user it works fine. But if I want to execute it with a external user from AD, the user do not have any attributes like roles or accounts.

    UserStorage.retrieveUserDatabaseProfileDataFull(username, ws, dataBinder,cxt, true, true)
    returns only the user properties but no secutrity attributes like accounts or rols.

    Any ideas?

    Chris
     
  2. idcChris

    idcChris Active Member

    Messages:
    16
    Likes Received:
    4
    Trophy Points:
    90
    Location:
    Germany
    Hello and sorry for this posting,

    I wanted to execute the example form Bex but I do not need to get the UserData because I want to execute a Service with the current loged in user :-( So I have the UserData allready.

    Sorry again! Close this ticket, forget it or what ever :)