org.apache.jena.atlas.web.auth
Class AbstractScopedAuthenticator<T>
java.lang.Object
org.apache.jena.atlas.web.auth.AbstractCredentialsAuthenticator
org.apache.jena.atlas.web.auth.AbstractScopedAuthenticator<T>
- Type Parameters:
T - Type used to store credential information
- All Implemented Interfaces:
- HttpAuthenticator
- Direct Known Subclasses:
- DelegatingAuthenticator, FormsAuthenticator, ScopedAuthenticator, ScopedNTAuthenticator, ServiceAuthenticator
public abstract class AbstractScopedAuthenticator<T>
- extends AbstractCredentialsAuthenticator
An abstract helper for authenticators which scope credentials to URIs
Credentials Scope
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
AbstractScopedAuthenticator
public AbstractScopedAuthenticator()
Licenced under the Apache License, Version 2.0