T
- Type used to store credential informationpublic abstract class AbstractScopedAuthenticator<T> extends AbstractCredentialsAuthenticator
An abstract helper for authenticators which scope credentials to URIs
Note that credentials are not necessarily considered to be exclusively scoped to the exact URI rather they
are scoped to any URI derived from the given URI. For example if you declared
credentials for http://example.org
they would also apply to
http://example.org/some/path/
. When determining credentials the
longest match applies, so in the previous example you could define different
credentials for the two URIs and URIs derived from
http://example.org/some/path/
would prefer the credentials for that
URI over those for http://example.org
Implementations that wish to follow the above scoping policy should make use of the findCredentials method
Constructor and Description |
---|
AbstractScopedAuthenticator() |
Licenced under the Apache License, Version 2.0