|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.jena.atlas.web.auth.AbstractCredentialsAuthenticator
org.apache.jena.atlas.web.auth.AbstractScopedAuthenticator<Context>
org.apache.jena.atlas.web.auth.ServiceAuthenticator
public class ServiceAuthenticator
A HTTP authenticator which selects credentials based upon service context
found in the provided Context. May also optionally use fallback
credentials for URIs for which authentication has not been explicitly
configured. This works only with the Basic and Digest authentication schemes
so you may need to use an alternative authenticator if you need to use
another authentication scheme.
| Constructor Summary | |
|---|---|
ServiceAuthenticator()
Creates new authenticator using the standard ARQ context |
|
ServiceAuthenticator(Context context)
Creates a new authenticator using the given context |
|
ServiceAuthenticator(Context context,
String username,
char[] password)
Creates a new authenticator using the given context, the provided credentials are used as fallback if the context contains no registered credentials for a target URI |
|
ServiceAuthenticator(String username,
char[] password)
Creates a new authenticator using the standard ARQ context, the provided credentials are used as fallback if the context contains no registered credentials for a target URI |
|
| Method Summary |
|---|
| Methods inherited from class org.apache.jena.atlas.web.auth.AbstractCredentialsAuthenticator |
|---|
apply, invalidate |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServiceAuthenticator()
public ServiceAuthenticator(String username,
char[] password)
username - Fallback user namepassword - Fallback passwordpublic ServiceAuthenticator(Context context)
context - Context
public ServiceAuthenticator(Context context,
String username,
char[] password)
context - Contextusername - Fallback user namepassword - Fallback password
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||