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