| sun.net.www.protocol.http.NTLMAuthentication
NTLMAuthentication | class NTLMAuthentication extends AuthenticationInfo (Code) | | NTLMAuthentication:
author: Michael McMahon |
NTLM_AUTH | final static char NTLM_AUTH(Code) | | |
NTLMAuthentication | public NTLMAuthentication(boolean isProxy, URL url, PasswordAuthentication pw)(Code) | | Create a NTLMAuthentication:
Username may be specified as domainusername in the application Authenticator.
If this notation is not used, then the domain will be taken
from a system property: "http.auth.ntlm.domain".
|
getHeaderName | String getHeaderName()(Code) | | the name of the HTTP header this authentication wants set |
getHeaderValue | String getHeaderValue(URL url, String method)(Code) | | Not supported. Must use the setHeaders() method
|
isAuthorizationStale | boolean isAuthorizationStale(String header)(Code) | | Check if the header indicates that the current auth. parameters are stale.
If so, then replace the relevant field with the new value
and return true. Otherwise return false.
returning true means the request can be retried with the same userid/password
returning false means we have to go back to the user to ask for a new
username password.
|
setHeaders | synchronized boolean setHeaders(HttpURLConnection conn, HeaderParser p, String raw)(Code) | | Set header(s) on the given connection.
Parameters: conn - The connection to apply the header(s) to Parameters: p - A source of header values for this connection, not used becauseHeaderParser converts the fields to lower case, use raw instead Parameters: raw - The raw header field. true if all goes well, false if no headers were set. |
supportsPreemptiveAuthorization | boolean supportsPreemptiveAuthorization()(Code) | | true if this authentication supports preemptive authorization |
supportsTransparentAuth | static boolean supportsTransparentAuth()(Code) | | true if NTLM supported transparently (no password needed, SSO) |
|
|