File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Proxy Authentication denied in weblogic for web service.

 
Baby Kahkeshan
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello everyone,

I am trying to use proxy authentication in weblogic 12c.

The code snippet used for this is

WFProxyAuthenticator.setLoginAndPassword((String) propMap.get(PROP_PROXYUSER),
(String) propMap.get(PROP_PROXYPASSWORD));

System.getProperties().put(weblogic.common.ProxyAuthenticator.AUTHENTICATOR_PROPERTY,
"com.newgen.omni.jts.util.WFProxyAuthenticator");



propMap has been used to store all the details regarding proxyHost , proxyPort, proxyUser, proxyPassword.
WFProxyAuthenticator is the class used for implementing ProxyAuthenticator interface (weblogic.common.ProxyAuthenticator).


Kindly help me with this.


 
Baby Kahkeshan
Greenhorn
Posts: 2
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

System.getProperties().put(weblogic.common.ProxyAuthenticator.AUTHENTICATOR_PROPERTY,
"com.newgen.omni.jts.util.WFProxyAuthenticator");

After the above line execution WFProxyAuthenticator default constructor should get called. But after applying debugs, I found that the constructor is not getting called and hence the init method is also not gettig called.

Please let me know the reason for this

Hoping for a fast reply,

Kahkeshan
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic