Class JCIFSEngine
- java.lang.Object
-
- com.im.df.security.mechanim.novartis.iam.kerberos.JCIFSEngine
-
- All Implemented Interfaces:
org.apache.http.impl.auth.NTLMEngine
public class JCIFSEngine extends Object implements org.apache.http.impl.auth.NTLMEngine
Implementation of an NTLM Engine, which generates Type 1 and Type 3 messages for the NTML hand shake.- Author:
- Sandra Mueller
-
-
Constructor Summary
Constructors Constructor Description JCIFSEngine()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
generateType1Msg(String domain, String workstation)
Generates a Type 1 message of the NTLM protocol with the specified domain and workstation id and default flags.String
generateType3Msg(String username, String password, String domain, String workstation, String challenge)
Generates a Type 3 message of the NTLM protocol for the specified challenge with the specified user name and password as well as domain and workstation id.
-
-
-
Method Detail
-
generateType1Msg
public String generateType1Msg(String domain, String workstation) throws org.apache.http.impl.auth.NTLMEngineException
Generates a Type 1 message of the NTLM protocol with the specified domain and workstation id and default flags.- Specified by:
generateType1Msg
in interfaceorg.apache.http.impl.auth.NTLMEngine
- Parameters:
domain
- Domain of the userworkstation
- Workstation id of the user- Returns:
- NTLM message of Type 1
- Throws:
org.apache.http.impl.auth.NTLMEngineException
-
generateType3Msg
public String generateType3Msg(String username, String password, String domain, String workstation, String challenge) throws org.apache.http.impl.auth.NTLMEngineException
Generates a Type 3 message of the NTLM protocol for the specified challenge with the specified user name and password as well as domain and workstation id.- Specified by:
generateType3Msg
in interfaceorg.apache.http.impl.auth.NTLMEngine
- Parameters:
username
- User namepassword
- Password of the userdomain
- Domain of the userworkstation
- Workstation id of the user- Returns:
- NTLM message of Type 3
- Throws:
org.apache.http.impl.auth.NTLMEngineException
-
-