• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Proxy Authentication denied in weblogic for web service.

 
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Story like this gets better after being told a few times. Or maybe it's just a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic