on 02-06-2006 4:56 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.