Interface NTLMEngine
-
- All Known Implementing Classes:
NTLMEngineImpl
@Deprecated public interface NTLMEngine
Deprecated.Do not use. the NTLM authentication scheme is no longer supportedAbstract NTLM authentication engine. The engine can be used to generate Type1 messages and Type3 messages in response to a Type2 challenge.- Since:
- 4.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.lang.String
generateType1Msg(java.lang.String domain, java.lang.String workstation)
Deprecated.Generates a Type1 message given the domain and workstation.java.lang.String
generateType3Msg(java.lang.String username, char[] password, java.lang.String domain, java.lang.String workstation, java.lang.String challenge)
Deprecated.Generates a Type3 message given the user credentials and the authentication challenge.
-
-
-
Method Detail
-
generateType1Msg
java.lang.String generateType1Msg(java.lang.String domain, java.lang.String workstation) throws NTLMEngineException
Deprecated.Generates a Type1 message given the domain and workstation.- Parameters:
domain
- Optional Windows domain name. Can benull
.workstation
- Optional Windows workstation name. Can benull
.- Returns:
- Type1 message
- Throws:
NTLMEngineException
-
generateType3Msg
java.lang.String generateType3Msg(java.lang.String username, char[] password, java.lang.String domain, java.lang.String workstation, java.lang.String challenge) throws NTLMEngineException
Deprecated.Generates a Type3 message given the user credentials and the authentication challenge.- Parameters:
username
- Windows user namepassword
- Passworddomain
- Windows domain nameworkstation
- Windows workstation namechallenge
- Type2 challenge.- Returns:
- Type3 response.
- Throws:
NTLMEngineException
-
-