org.apache.jena.atlas.web.auth
Class SimpleNTAuthenticator
java.lang.Object
org.apache.jena.atlas.web.auth.AbstractCredentialsAuthenticator
org.apache.jena.atlas.web.auth.SimpleAuthenticator
org.apache.jena.atlas.web.auth.SimpleNTAuthenticator
- All Implemented Interfaces:
- HttpAuthenticator
public class SimpleNTAuthenticator
- extends SimpleAuthenticator
A HTTP Authenticator which provides authentication via user name and password
combinations. Works with the NTLM authentication scheme.
Use the parent class SimpleAuthenticator if you just need to do
Basic/Digest authentication.
This authenticator will present the given credentials to any server that
request authentication even though the credentials may not be valid there. It
is typically more secure to use the ScopedNTAuthenticator instead
which only presents credentials to specific servers.
SimpleNTAuthenticator
public SimpleNTAuthenticator(String username,
char[] password,
String workstation,
String domain)
- Creates a new authenticator
- Parameters:
username - Usernamepassword - Passwordworkstation - Workstation, this is the ID of your local workstationdomain - Domain, this is the domain you are authenticating in which may
not necessarily be the domain your workstation is in
Licenced under the Apache License, Version 2.0