Worklist API in Weblogic 9.2
If you want to access the Worklist interfaces outside of the Weblogic Server you can use the following code :
Hashtable h = new Hashtable();
h.put(Context.SECURITY_PRINCIPAL, "weblogic");
h.put(Context.SECURITY_CREDENTIALS, "weblogic");
h.put(Context.PROVIDER_URL, "t3://localhost:7001");
h.put(Context.SECURITY_AUTHENTICATION, "simple");
Context ctx = new InitialContext(h);
WorklistContextFactory.getRemoteWorklistContext(ctx, "Your Application Name");
No comments:
Post a Comment