Forum Discussion

Ian_105608's avatar
Ian_105608
Icon for Nimbostratus rankNimbostratus
Jul 06, 2009

Authenticators

Good morning,

 

 

When I loging to the embedded scripting tool in my program to talk to weblogic it breaks f5 authentication.

 

 

Currently - with Weblogic connection commented out I get the right data returned from the f5 (it enables / disables specific server).

 

 

When I login to weblogic the f5 authorisation starts giving 401's only. Seems like the context for the auth is being overwritten by weblogic.

 

 

Any idea how to reset it or save the state?

 

 

(Note: I'm a systems guy and my Java is rusty and a bit ordinary).

 

 

Cheers,

 

Ian

 

  • Ok tracked it down with someone elses help.

     

     

    The handler is being changed from sun.net.www.protocol.https.Handler to weblogic.net.http.Handler

     

     

    This handler seems to drop all the auth details hence the 404's.

     

     

    Just have to work out how to stop the handler from being clobbered by BEA / unclobber it.

     

  • Glad you tracked it down since I wasn't sure how to answer your question B-).

     

     

    -Joe
  • Posted By Joe on 07/07/2009 2:37 PM

     

    Glad you tracked it down since I wasn't sure how to answer your question B-).

     

    -Joe

     

     

     

    Hi Joe,

     

     

    In the end tracked down a fix but not a great one. It seems when Weblogic initialises Axis it overrides the URL Handler and configures its own. This isn't compatible with the way the iControl Assembly initiates its connection. (It removes the auth settings from the URL)

     

     

    I need to do a set and a get before calling weblogic or the URL in the Axis methods gets overriden. Is there anyway you guys could look into initialising axis set and get transports when the iControl.Interfaces object is initialised?

     

     

    Cheers.

     

    Ian