Home
last modified time | relevance | path

Searched refs:authCache (Results 1 – 25 of 50) sorted by relevance

12

/dports/lang/spidermonkey60/firefox-60.9.0/mobile/android/thirdparty/ch/boye/httpclientandroidlib/client/protocol/
H A DResponseAuthCache.java90 if (authCache == null) { in process()
91 authCache = new BasicAuthCache(); in process()
92 context.setAttribute(ClientContext.AUTH_CACHE, authCache); in process()
96 cache(authCache, target, targetState.getAuthScheme()); in process()
99 uncache(authCache, target, targetState.getAuthScheme()); in process()
111 if (authCache == null) { in process()
112 authCache = new BasicAuthCache(); in process()
117 cache(authCache, proxy, proxyState.getAuthScheme()); in process()
120 uncache(authCache, proxy, proxyState.getAuthScheme()); in process()
141 authCache.put(host, authScheme); in cache()
[all …]
H A DRequestAuthCache.java73 final AuthCache authCache = clientContext.getAuthCache(); in process() local
74 if (authCache == null) { in process()
106 final AuthScheme authScheme = authCache.get(target); in process()
115 final AuthScheme authScheme = authCache.get(proxy); in process()
H A DHttpClientContext.java216 public void setAuthCache(final AuthCache authCache) { in setAuthCache() argument
217 setAttribute(AUTH_CACHE, authCache); in setAuthCache()
/dports/www/firefox-legacy/firefox-52.8.0esr/mobile/android/thirdparty/ch/boye/httpclientandroidlib/client/protocol/
H A DResponseAuthCache.java90 if (authCache == null) { in process()
91 authCache = new BasicAuthCache(); in process()
92 context.setAttribute(ClientContext.AUTH_CACHE, authCache); in process()
96 cache(authCache, target, targetState.getAuthScheme()); in process()
99 uncache(authCache, target, targetState.getAuthScheme()); in process()
111 if (authCache == null) { in process()
112 authCache = new BasicAuthCache(); in process()
117 cache(authCache, proxy, proxyState.getAuthScheme()); in process()
120 uncache(authCache, proxy, proxyState.getAuthScheme()); in process()
141 authCache.put(host, authScheme); in cache()
[all …]
H A DRequestAuthCache.java73 final AuthCache authCache = clientContext.getAuthCache(); in process() local
74 if (authCache == null) { in process()
106 final AuthScheme authScheme = authCache.get(target); in process()
115 final AuthScheme authScheme = authCache.get(proxy); in process()
H A DHttpClientContext.java216 public void setAuthCache(final AuthCache authCache) { in setAuthCache() argument
217 setAttribute(AUTH_CACHE, authCache); in setAuthCache()
/dports/net-im/openfire/Openfire-4.7.1/xmppserver/src/main/java/org/jivesoftware/openfire/auth/
H A DPOP3AuthProvider.java74 private Cache<String, String> authCache = null; field in POP3AuthProvider
97 authCache = CacheFactory.createCache(cacheName); in POP3AuthProvider()
121 Log.debug("\t authCacheEnabled: " + (authCache != null)); in POP3AuthProvider()
122 if (authCache != null) { in POP3AuthProvider()
123 Log.debug("\t authCacheSize: " + authCache.getLongCacheSize()); in POP3AuthProvider()
124 Log.debug("\t authCacheMaxLifetime: " + authCache.getMaxLifetime()); in POP3AuthProvider()
149 if (authCache != null && authCache.containsKey(username)) { in authenticate()
150 String hash = authCache.get(username); in authenticate()
193 if (authCache != null) { in authenticate()
194 authCache.put(username, StringUtils.hash(password)); in authenticate()
/dports/net-im/openfire/Openfire-4.7.1/xmppserver/src/main/java/org/jivesoftware/openfire/ldap/
H A DLdapAuthProvider.java58 private Cache<String, String> authCache = null; field in LdapAuthProvider
67 authCache = CacheFactory.createCache(cacheName); in LdapAuthProvider()
93 if (authCache != null && authCache.containsKey(username)) { in authenticate()
94 String hash = authCache.get(username); in authenticate()
131 if (authCache != null) { in authenticate()
132 authCache.put(username, StringUtils.hash(password)); in authenticate()
/dports/lang/spidermonkey60/firefox-60.9.0/mobile/android/thirdparty/ch/boye/httpclientandroidlib/impl/client/
H A DAuthenticationStrategyAdaptor.java132 AuthCache authCache = (AuthCache) context.getAttribute(ClientContext.AUTH_CACHE); in authSucceeded() local
134 if (authCache == null) { in authSucceeded()
135 authCache = new BasicAuthCache(); in authSucceeded()
136 context.setAttribute(ClientContext.AUTH_CACHE, authCache); in authSucceeded()
142 authCache.put(authhost, authScheme); in authSucceeded()
148 final AuthCache authCache = (AuthCache) context.getAttribute(ClientContext.AUTH_CACHE); in authFailed() local
149 if (authCache == null) { in authFailed()
156 authCache.remove(authhost); in authFailed()
H A DAuthenticationStrategyImpl.java207 AuthCache authCache = clientContext.getAuthCache(); in authSucceeded() local
208 if (authCache == null) { in authSucceeded()
209 authCache = new BasicAuthCache(); in authSucceeded()
210 clientContext.setAuthCache(authCache); in authSucceeded()
216 authCache.put(authhost, authScheme); in authSucceeded()
236 final AuthCache authCache = clientContext.getAuthCache(); in authFailed() local
237 if (authCache != null) { in authFailed()
241 authCache.remove(authhost); in authFailed()
/dports/www/firefox-legacy/firefox-52.8.0esr/mobile/android/thirdparty/ch/boye/httpclientandroidlib/impl/client/
H A DAuthenticationStrategyAdaptor.java132 AuthCache authCache = (AuthCache) context.getAttribute(ClientContext.AUTH_CACHE); in authSucceeded() local
134 if (authCache == null) { in authSucceeded()
135 authCache = new BasicAuthCache(); in authSucceeded()
136 context.setAttribute(ClientContext.AUTH_CACHE, authCache); in authSucceeded()
142 authCache.put(authhost, authScheme); in authSucceeded()
148 final AuthCache authCache = (AuthCache) context.getAttribute(ClientContext.AUTH_CACHE); in authFailed() local
149 if (authCache == null) { in authFailed()
156 authCache.remove(authhost); in authFailed()
H A DAuthenticationStrategyImpl.java207 AuthCache authCache = clientContext.getAuthCache(); in authSucceeded() local
208 if (authCache == null) { in authSucceeded()
209 authCache = new BasicAuthCache(); in authSucceeded()
210 clientContext.setAuthCache(authCache); in authSucceeded()
216 authCache.put(authhost, authScheme); in authSucceeded()
236 final AuthCache authCache = clientContext.getAuthCache(); in authFailed() local
237 if (authCache != null) { in authFailed()
241 authCache.remove(authhost); in authFailed()
/dports/net-p2p/vuze/vuze-5.7.4.0_2/org/gudy/azureus2/ui/swt/auth/
H A DAuthenticatorWindow.java81 auth_cache.put( key, new authCache( key, new PasswordAuthentication( user, pw ), true )); in AuthenticatorWindow()
104 authCache value = (authCache)it.next(); in saveAuthCache()
195 authCache cache = (authCache)auth_cache.get( auth_key ); in setAuthenticationOutcome()
259 authCache cache = (authCache)auth_cache.get( auth_key ); in getAuthentication()
283 …boolean old_entry_existed = auth_cache.put( auth_key, new authCache( auth_key, auth, save_pw )) !=… in getAuthentication()
660 authCache class in AuthenticatorWindow
669 authCache( in authCache() method in AuthenticatorWindow.authCache
/dports/lang/spidermonkey60/firefox-60.9.0/netwerk/protocol/http/
H A DnsHttpChannelAuthProvider.cpp237 nsHttpAuthCache *authCache = gHttpHandler->AuthCache(mIsPrivate); in AddAuthorizationHeaders() local
242 SetAuthorizationHeader(authCache, nsHttp::Proxy_Authorization, "http", in AddAuthorizationHeaders()
264 SetAuthorizationHeader(authCache, nsHttp::Authorization, scheme.get(), in AddAuthorizationHeaders()
442 nsHttpAuthCache *authCache = gHttpHandler->AuthCache(mIsPrivate); in UpdateCache() local
454 rv = authCache->SetAuthEntry(scheme, host, port, directory, realm, in UpdateCache()
641 nsHttpAuthCache *authCache = gHttpHandler->AuthCache(mIsPrivate); in GetCredentialsForChallenge() local
710 Unused << authCache->GetAuthEntryForDomain(scheme.get(), host, port, in GetCredentialsForChallenge()
772 authCache->ClearAuthEntry(scheme.get(), host, port, realm.get(), in GetCredentialsForChallenge()
1246 nsHttpAuthCache *authCache = gHttpHandler->AuthCache(mIsPrivate); in OnAuthAvailable() local
1248 Unused << authCache->GetAuthEntryForDomain(scheme.get(), host, port, in OnAuthAvailable()
[all …]
/dports/www/firefox-legacy/firefox-52.8.0esr/netwerk/protocol/http/
H A DnsHttpChannelAuthProvider.cpp234 nsHttpAuthCache *authCache = gHttpHandler->AuthCache(mIsPrivate); in AddAuthorizationHeaders() local
239 SetAuthorizationHeader(authCache, nsHttp::Proxy_Authorization, in AddAuthorizationHeaders()
260 SetAuthorizationHeader(authCache, nsHttp::Authorization, in AddAuthorizationHeaders()
483 nsHttpAuthCache *authCache = gHttpHandler->AuthCache(mIsPrivate); in UpdateCache() local
496 rv = authCache->SetAuthEntry(scheme, host, port, directory, realm, in UpdateCache()
703 nsHttpAuthCache *authCache = gHttpHandler->AuthCache(mIsPrivate); in GetCredentialsForChallenge() local
773 authCache->GetAuthEntryForDomain(scheme.get(), host, port, in GetCredentialsForChallenge()
825 authCache->ClearAuthEntry(scheme.get(), host, in GetCredentialsForChallenge()
1290 nsHttpAuthCache *authCache = gHttpHandler->AuthCache(mIsPrivate); in OnAuthAvailable() local
1292 authCache->GetAuthEntryForDomain(scheme.get(), host, port, in OnAuthAvailable()
[all …]
/dports/www/firefox-esr/firefox-91.8.0/netwerk/protocol/http/
H A DnsHttpChannelAuthProvider.cpp220 nsHttpAuthCache* authCache = gHttpHandler->AuthCache(mIsPrivate); in AddAuthorizationHeaders() local
225 SetAuthorizationHeader(authCache, nsHttp::Proxy_Authorization, "http", in AddAuthorizationHeaders()
247 SetAuthorizationHeader(authCache, nsHttp::Authorization, scheme.get(), in AddAuthorizationHeaders()
428 nsHttpAuthCache* authCache = gHttpHandler->AuthCache(mIsPrivate); in UpdateCache() local
444 rv = authCache->SetAuthEntry(scheme, host, port, directory, realm, in UpdateCache()
639 nsHttpAuthCache* authCache = gHttpHandler->AuthCache(mIsPrivate); in GetCredentialsForChallenge() local
710 Unused << authCache->GetAuthEntryForDomain(scheme.get(), host, port, in GetCredentialsForChallenge()
772 authCache->ClearAuthEntry(scheme.get(), host, port, realm.get(), in GetCredentialsForChallenge()
1275 nsHttpAuthCache* authCache = gHttpHandler->AuthCache(mIsPrivate); in OnAuthAvailable() local
1277 Unused << authCache->GetAuthEntryForDomain(scheme.get(), host, port, in OnAuthAvailable()
[all …]
/dports/mail/thunderbird/thunderbird-91.8.0/netwerk/protocol/http/
H A DnsHttpChannelAuthProvider.cpp220 nsHttpAuthCache* authCache = gHttpHandler->AuthCache(mIsPrivate); in AddAuthorizationHeaders() local
225 SetAuthorizationHeader(authCache, nsHttp::Proxy_Authorization, "http", in AddAuthorizationHeaders()
247 SetAuthorizationHeader(authCache, nsHttp::Authorization, scheme.get(), in AddAuthorizationHeaders()
428 nsHttpAuthCache* authCache = gHttpHandler->AuthCache(mIsPrivate); in UpdateCache() local
444 rv = authCache->SetAuthEntry(scheme, host, port, directory, realm, in UpdateCache()
639 nsHttpAuthCache* authCache = gHttpHandler->AuthCache(mIsPrivate); in GetCredentialsForChallenge() local
710 Unused << authCache->GetAuthEntryForDomain(scheme.get(), host, port, in GetCredentialsForChallenge()
772 authCache->ClearAuthEntry(scheme.get(), host, port, realm.get(), in GetCredentialsForChallenge()
1275 nsHttpAuthCache* authCache = gHttpHandler->AuthCache(mIsPrivate); in OnAuthAvailable() local
1277 Unused << authCache->GetAuthEntryForDomain(scheme.get(), host, port, in OnAuthAvailable()
[all …]
/dports/lang/spidermonkey78/firefox-78.9.0/netwerk/protocol/http/
H A DnsHttpChannelAuthProvider.cpp224 nsHttpAuthCache* authCache = gHttpHandler->AuthCache(mIsPrivate); in AddAuthorizationHeaders() local
229 SetAuthorizationHeader(authCache, nsHttp::Proxy_Authorization, "http", in AddAuthorizationHeaders()
251 SetAuthorizationHeader(authCache, nsHttp::Authorization, scheme.get(), in AddAuthorizationHeaders()
429 nsHttpAuthCache* authCache = gHttpHandler->AuthCache(mIsPrivate); in UpdateCache() local
445 rv = authCache->SetAuthEntry(scheme, host, port, directory, realm, in UpdateCache()
632 nsHttpAuthCache* authCache = gHttpHandler->AuthCache(mIsPrivate); in GetCredentialsForChallenge() local
703 Unused << authCache->GetAuthEntryForDomain(scheme.get(), host, port, in GetCredentialsForChallenge()
765 authCache->ClearAuthEntry(scheme.get(), host, port, realm.get(), in GetCredentialsForChallenge()
1257 nsHttpAuthCache* authCache = gHttpHandler->AuthCache(mIsPrivate); in OnAuthAvailable() local
1259 Unused << authCache->GetAuthEntryForDomain(scheme.get(), host, port, in OnAuthAvailable()
[all …]
/dports/www/firefox/firefox-99.0/netwerk/protocol/http/
H A DnsHttpChannelAuthProvider.cpp223 nsHttpAuthCache* authCache = gHttpHandler->AuthCache(mIsPrivate); in AddAuthorizationHeaders() local
227 SetAuthorizationHeader(authCache, nsHttp::Proxy_Authorization, "http"_ns, in AddAuthorizationHeaders()
249 SetAuthorizationHeader(authCache, nsHttp::Authorization, scheme, Host(), in AddAuthorizationHeaders()
407 nsHttpAuthCache* authCache = gHttpHandler->AuthCache(mIsPrivate); in UpdateCache() local
423 rv = authCache->SetAuthEntry(scheme, host, port, directory, realm, in UpdateCache()
780 nsHttpAuthCache* authCache = gHttpHandler->AuthCache(mIsPrivate); in GetCredentialsForChallenge() local
851 Unused << authCache->GetAuthEntryForDomain(scheme, host, port, realm, suffix, in GetCredentialsForChallenge()
913 authCache->ClearAuthEntry(scheme, host, port, realm, suffix); in GetCredentialsForChallenge()
1522 nsHttpAuthCache* authCache = gHttpHandler->AuthCache(mIsPrivate); in OnAuthAvailable() local
1524 Unused << authCache->GetAuthEntryForDomain(scheme, host, port, realm, suffix, in OnAuthAvailable()
[all …]
/dports/www/fabio/fabio-1.5.14/vendor/github.com/hashicorp/consul/consul-1.4.2/agent/structs/
H A Dacl_cache.go92 authCache, err := lru.New2Q(config.Authorizers)
97 cache.authorizers = authCache
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.rmi/share/classes/sun/rmi/transport/tcp/
H A DTCPTransport.java624 Reference<AccessControlContext>> authCache; field in TCPTransport.ConnectionHandler
653 authCache = new WeakHashMap<AccessControlContext, in checkAcceptPermission()
657 if (acc.equals(okContext) || authCache.containsKey(acc)) { in checkAcceptPermission()
665 authCache.put(acc, new SoftReference<AccessControlContext>(acc)); in checkAcceptPermission()
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.rmi/share/classes/sun/rmi/transport/tcp/
H A DTCPTransport.java624 Reference<AccessControlContext>> authCache; field in TCPTransport.ConnectionHandler
653 authCache = new WeakHashMap<AccessControlContext, in checkAcceptPermission()
657 if (acc.equals(okContext) || authCache.containsKey(acc)) { in checkAcceptPermission()
665 authCache.put(acc, new SoftReference<AccessControlContext>(acc)); in checkAcceptPermission()
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.rmi/share/classes/sun/rmi/transport/tcp/
H A DTCPTransport.java624 Reference<AccessControlContext>> authCache; field in TCPTransport.ConnectionHandler
653 authCache = new WeakHashMap<AccessControlContext, in checkAcceptPermission()
657 if (acc.equals(okContext) || authCache.containsKey(acc)) { in checkAcceptPermission()
665 authCache.put(acc, new SoftReference<AccessControlContext>(acc)); in checkAcceptPermission()
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.rmi/share/classes/sun/rmi/transport/tcp/
H A DTCPTransport.java624 Reference<AccessControlContext>> authCache; field in TCPTransport.ConnectionHandler
653 authCache = new WeakHashMap<AccessControlContext, in checkAcceptPermission()
657 if (acc.equals(okContext) || authCache.containsKey(acc)) { in checkAcceptPermission()
665 authCache.put(acc, new SoftReference<AccessControlContext>(acc)); in checkAcceptPermission()
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/sun/rmi/transport/tcp/
H A DTCPTransport.java635 Reference<AccessControlContext>> authCache; field in TCPTransport.ConnectionHandler
664 authCache = new WeakHashMap<AccessControlContext, in checkAcceptPermission()
668 if (acc.equals(okContext) || authCache.containsKey(acc)) { in checkAcceptPermission()
676 authCache.put(acc, new SoftReference<AccessControlContext>(acc)); in checkAcceptPermission()

12