org.apache.jena.atlas.web.auth
Class SimpleNTAuthenticator

java.lang.Object
  extended by org.apache.jena.atlas.web.auth.AbstractCredentialsAuthenticator
      extended by org.apache.jena.atlas.web.auth.SimpleAuthenticator
          extended by 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.


Constructor Summary
SimpleNTAuthenticator(String username, char[] password, String workstation, String domain)
          Creates a new authenticator
 
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

SimpleNTAuthenticator

public SimpleNTAuthenticator(String username,
                             char[] password,
                             String workstation,
                             String domain)
Creates a new authenticator

Parameters:
username - Username
password - Password
workstation - Workstation, this is the ID of your local workstation
domain - 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