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.
Constructor and Description |
---|
SimpleNTAuthenticator(String username,
char[] password,
String workstation,
String domain)
Creates a new authenticator
|
public SimpleNTAuthenticator(String username, char[] password, String workstation, String domain)
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 inLicenced under the Apache License, Version 2.0