cancel
Showing results for 
Search instead for 
Did you mean: 

Access users in a Web Dynpro application on different WAS ??????

Former Member
0 Kudos

Hi,

Scenario - I have a local WAS on which i have deployed a Web Dynpro Based application.

There is another WAS on which I have portal installed. I need to access the roles assigned to a particular user in my Web Dynpro application.

Query -

I need to know can i access the roles assigned to a user on a different WAS in a Web Dynpro based application running on a different WAS.

Thanks and Regards,

Amol Ghodekar.

Accepted Solutions (0)

Answers (2)

Answers (2)

kishorg
Advisor
Advisor
0 Kudos

Hi Amol,

Just try using this code,

Properties props = new Properties();

props.put(Context.INITIAL_CONTEXT_FACTORY,IPcdContext.PCD_INITIAL_CONTEXT_FACTORY);

props.put(Context.SECURITY_PRINCIPAL, "Administrator"); //User

props.put(Context.SECURITY_CREDENTIALS, "");

props.put(Context.PROVIDER_URL, "'");//URL

InitialContext iCtx = new InitialContext(props);

Using this ctx u can look the properties of ur remote server.

just refer this link.

/thread/26033 [original link is broken]

http://help.sap.com/saphelp_nw04/helpdata/de/b4/581140d72dc442e10000000a1550b0/content.htm

Regards

Kishor Gopinathan

Former Member
0 Kudos

Hi Amol,

check these links out

Hope this helps you

Regards

Rohit