01: package com.technoetic.xplanner.security.module.ntlm;
02:
03: import java.net.UnknownHostException;
04:
05: import jcifs.smb.SmbException;
06: import org.apache.log4j.Priority;
07:
08: /**
09: * User: Mateusz Prokopowicz
10: * Date: Mar 10, 2005
11: * Time: 4:26:59 PM
12: */
13: public interface NtlmLoginHelper {
14: void setLoggingPriority(Priority loggingPriority);
15:
16: void authenticate(String userId, String password,
17: String domainController, String domain)
18: throws UnknownHostException, SmbException;
19:
20: String encodePassword(String password, byte[] salt)
21: throws Exception;
22: }
|