All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.groupbyinc.flux.common.http.impl.client.AuthenticationStrategyImpl.class Maven / Gradle / Ivy

There is a newer version: 198
Show newest version
????2?Fcom/groupbyinc/flux/common/http/impl/client/AuthenticationStrategyImpljava/lang/Object=com/groupbyinc/flux/common/http/client/AuthenticationStrategyAuthenticationStrategyImpl.java5Lcom/groupbyinc/flux/common/http/annotation/Contract;	threading>Lcom/groupbyinc/flux/common/http/annotation/ThreadingBehavior;	IMMUTABLElog7Lcom/groupbyinc/flux/common/apache/commons/logging/Log;DEFAULT_SCHEME_PRIORITYLjava/util/List;$Ljava/util/List;
challengeCodeI
headerNameLjava/lang/String;(ILjava/lang/String;)V()V
getClass()Ljava/lang/Class;
?=@authhost*Lcom/groupbyinc/flux/common/http/HttpHost;response.Lcom/groupbyinc/flux/common/http/HttpResponse;context6Lcom/groupbyinc/flux/common/http/protocol/HttpContext;status
getChallenges?(Lcom/groupbyinc/flux/common/http/HttpHost;Lcom/groupbyinc/flux/common/http/HttpResponse;Lcom/groupbyinc/flux/common/http/protocol/HttpContext;)Ljava/util/Map;@com/groupbyinc/flux/common/http/auth/MalformedChallengeExceptionK
getHeaders=(Ljava/lang/String;)[Lcom/groupbyinc/flux/common/http/Header;MN7Ojava/util/HashMapQ(I)VS
RT(com/groupbyinc/flux/common/http/HttpHostV4com/groupbyinc/flux/common/http/protocol/HttpContextX)[Lcom/groupbyinc/flux/common/http/Header;Z
java/util/Map\/com/groupbyinc/flux/common/http/FormattedHeader^	getBuffer8()Lcom/groupbyinc/flux/common/http/util/CharArrayBuffer;`a_bgetValuePosd?_e&com/groupbyinc/flux/common/http/HeaderggetValue()Ljava/lang/String;ijhkHeader value is nullm(Ljava/lang/String;)Vo
Lpjava/lang/Stringr4com/groupbyinc/flux/common/http/util/CharArrayBuffertlengthv?
sw
uTappendzo
u{
uwcharAt(I)C~
u?-com/groupbyinc/flux/common/http/protocol/HTTP?isWhitespace(C)Z??
??	substring(II)Ljava/lang/String;??
u?java/util/Locale?ROOTLjava/util/Locale;??	??toLowerCase&(Ljava/util/Locale;)Ljava/lang/String;??
s?put8(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;??]?buffer6Lcom/groupbyinc/flux/common/http/util/CharArrayBuffer;poss
beginIndexendIndexheader(Lcom/groupbyinc/flux/common/http/Header;arr$len$i$headersmapKLjava/util/Map;Ljava/util/Map;getPreferredAuthSchemesU(Lcom/groupbyinc/flux/common/http/client/config/RequestConfig;)Ljava/util/Collection;select?(Ljava/util/Map;Lcom/groupbyinc/flux/common/http/HttpHost;Lcom/groupbyinc/flux/common/http/HttpResponse;Lcom/groupbyinc/flux/common/http/protocol/HttpContext;)Ljava/util/Queue;Map of auth challenges?Host?HTTP context?Acom/groupbyinc/flux/common/http/client/protocol/HttpClientContext?adapt{(Lcom/groupbyinc/flux/common/http/protocol/HttpContext;)Lcom/groupbyinc/flux/common/http/client/protocol/HttpClientContext;??
??java/util/LinkedList?
?getAuthSchemeRegistry1()Lcom/groupbyinc/flux/common/http/config/Lookup;??
??+Auth scheme registry not set in the context?5com/groupbyinc/flux/common/apache/commons/logging/Log?debug(Ljava/lang/Object;)V????java/util/Queue?-com/groupbyinc/flux/common/http/config/Lookup?getCredentialsProvider>()Lcom/groupbyinc/flux/common/http/client/CredentialsProvider;??
??+Credentials provider not set in the context?:com/groupbyinc/flux/common/http/client/CredentialsProvider?getRequestConfig?()Lcom/groupbyinc/flux/common/http/client/config/RequestConfig;??
????
?	?;com/groupbyinc/flux/common/http/client/config/RequestConfig?java/util/Collection?isDebugEnabled()Z????java/lang/StringBuilder?
?3Authentication schemes in the order of preference: ?-(Ljava/lang/String;)Ljava/lang/StringBuilder;z?
??-(Ljava/lang/Object;)Ljava/lang/StringBuilder;z?
??toString?j
??iterator()Ljava/util/Iterator;????java/util/Iterator?hasNext????next()Ljava/lang/Object;????get&(Ljava/lang/Object;)Ljava/lang/Object;?]lookup&(Ljava/lang/String;)Ljava/lang/Object;?7com/groupbyinc/flux/common/http/auth/AuthSchemeProvider
isWarnEnabled	??
Authentication scheme  not supportedwarn??createi(Lcom/groupbyinc/flux/common/http/protocol/HttpContext;)Lcom/groupbyinc/flux/common/http/auth/AuthScheme;/com/groupbyinc/flux/common/http/auth/AuthSchemeprocessChallenge+(Lcom/groupbyinc/flux/common/http/Header;)V.com/groupbyinc/flux/common/http/auth/AuthScopegetRealmj 
getSchemeName"j#Q(Lcom/groupbyinc/flux/common/http/HttpHost;Ljava/lang/String;Ljava/lang/String;)V%
&getCredentialsd(Lcom/groupbyinc/flux/common/http/auth/AuthScope;)Lcom/groupbyinc/flux/common/http/auth/Credentials;()?*/com/groupbyinc/flux/common/http/auth/AuthOption,f(Lcom/groupbyinc/flux/common/http/auth/AuthScheme;Lcom/groupbyinc/flux/common/http/auth/Credentials;)V.
-/add(Ljava/lang/Object;)Z12?3Challenge for 5$ authentication scheme not available7authSchemeProvider9Lcom/groupbyinc/flux/common/http/auth/AuthSchemeProvider;
authScheme1Lcom/groupbyinc/flux/common/http/auth/AuthScheme;	authScope0Lcom/groupbyinc/flux/common/http/auth/AuthScope;credentials2Lcom/groupbyinc/flux/common/http/auth/Credentials;	challengeidLjava/util/Iterator;
challenges
clientContextCLcom/groupbyinc/flux/common/http/client/protocol/HttpClientContext;optionsDLjava/util/Queue;Ljava/util/Queue;registryjLcom/groupbyinc/flux/common/http/config/Lookup;/Lcom/groupbyinc/flux/common/http/config/Lookup;
credsProvider;Ljava/util/Collection;
authSucceeded?(Lcom/groupbyinc/flux/common/http/HttpHost;Lcom/groupbyinc/flux/common/http/auth/AuthScheme;Lcom/groupbyinc/flux/common/http/protocol/HttpContext;)VAuth schemeV
isCachable4(Lcom/groupbyinc/flux/common/http/auth/AuthScheme;)ZXY
ZgetAuthCache4()Lcom/groupbyinc/flux/common/http/client/AuthCache;\]
?^:com/groupbyinc/flux/common/http/impl/client/BasicAuthCache`
asetAuthCache5(Lcom/groupbyinc/flux/common/http/client/AuthCache;)Vcd
?e0com/groupbyinc/flux/common/http/client/AuthCacheg	Caching 'i' auth scheme for k^(Lcom/groupbyinc/flux/common/http/HttpHost;Lcom/groupbyinc/flux/common/http/auth/AuthScheme;)V?mhn	authCache2Lcom/groupbyinc/flux/common/http/client/AuthCache;
isCompleter?sBasicuequalsIgnoreCase(Ljava/lang/String;)Zwx
sy
schemeName
authFailed Clearing cached auth scheme for }remove-(Lcom/groupbyinc/flux/common/http/HttpHost;)V?h?	Negotiate?Kerberos?NTLM?CredSSP?Digest?java/util/Arrays?asList%([Ljava/lang/Object;)Ljava/util/List;??
??java/util/Collections?unmodifiableList"(Ljava/util/List;)Ljava/util/List;??
??	SignatureCodeLocalVariableTableLineNumberTable
StackMapTableLocalVariableTypeTable
Exceptions?(Lcom/groupbyinc/flux/common/http/HttpHost;Lcom/groupbyinc/flux/common/http/HttpResponse;Lcom/groupbyinc/flux/common/http/protocol/HttpContext;)Ljava/util/Map;i(Lcom/groupbyinc/flux/common/http/client/config/RequestConfig;)Ljava/util/Collection;(Ljava/util/Map;Lcom/groupbyinc/flux/common/http/HttpHost;Lcom/groupbyinc/flux/common/http/HttpResponse;Lcom/groupbyinc/flux/common/http/protocol/HttpContext;)Ljava/util/Queue;
SourceFileRuntimeInvisibleAnnotations 
?	?h*?**??#?%*?'*,?)?? *+?WEXYZ,-??#,/?5W,?;?A6*?'????4#*+#BC#DE#FGH?abc??!@IJ???,/?5W,*?)?P:?RY??U::?66??2:		?_?	?_?c:
	?_?f6?3	?l:?
?LYn?q??uY?x?y:

?|6
?}?
?????	????6
?}?
?????	????6


??:????	??W???=???M??
Y?e'??i??
?_??>???
??9???	#??Z(??+???*+?BC?DE?FG??Z????????^pqrs9vAwMx\ze{j|t~????????????????????s???r?+	W7Y[][?0h?s?W7Y[][hu??&W7Y[]?L???????????+??5W,??5W-/?5W??5W??:??Y??:??:?*?%??????:?*?%ѹ????:	*	??:

???:
*?%??? *?%??Y????
????
??:???????s:+??????h:

????:?6*?%????*?%??Y??
???????????:
??Y,?!?$?':?+:??-Y?0?4W?3*?%???'*?%??Y??6????8??????
?????9:+D;<L#=>W?@??A?
??B???C?*+?D??BC?DE?FG$?EF-{GI4tJLNZMNh@OP	p8QS
?*?D?-{GH4tJKp8QR
??&?????$?-?4?9?D?G?N?S?^?a?h?p?u?z????????????????? ?+?4?L?W?\?o?r?~??????:
?G????????(???ssh?N?/??L??TU?#?+??5W,W?5W-??5W-??:*,?[?`?_:??aY?b:?f*?%???/*?%??Y??j??,?$??l??+????+,?o??>+Vpq?*+?BC?;<?FGfEF?6
?????$?+?0?9?@?L?x?????@?h7?XY?r+?+?t??+?$M,v?z?? *+;<{??
????
|U??R+??5W-??5W-??:?_:?4*?%??? *?%??Y??~??+????+????>R*+RBCR;<RFG>EF7pq?&	????? ?,?I?Q??I?h??K3?sY?SY?SY?SY?SY?SYvS?????۱?G??
	e





© 2015 - 2024 Weber Informatics LLC | Privacy Policy