Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.java.security > #69

How to dynamically change

From "bioform" <bioform@THRWHITE.remove-dii-this>
Subject How to dynamically change
Message-ID <c1ef942b-50fd-437c-82f9-ba5068e53a6e@s19g2000prg.googlegroups.com> (permalink)
Newsgroups comp.lang.java.security
Date 2011-04-27 16:07 +0000
Organization TDS.net

Show all headers | View raw


  To: comp.lang.java.security
My program works with the same URL using different authentication
scheme (Kerberos and basic). But if first time "Basic" scheme is
chosen then Kerberos authentication will not work next time.
I tried to change "http.auth.preference" system property in runtime
but it is not work (I found in "AuthenticationHeader" class Java
source that this property is read only ones).
How can I change authentication scheme in runtime or how can I clear
cache in the host authentication scheme map ?

Thanks,
Andrey

---
 * Synchronet * The Whitehouse BBS --- whitehouse.hulds.com --- check it out free usenet!
--- Synchronet 3.15a-Win32 NewsLink 1.92
Time Warp of the Future BBS - telnet://time.synchro.net:24

Back to comp.lang.java.security | Previous | Next | Find similar


Thread

How to dynamically change "bioform" <bioform@THRWHITE.remove-dii-this> - 2011-04-27 16:07 +0000

csiph-web