Class Ntlm


  • public class Ntlm
    extends Object
    NTLMAuthentication:
    Author:
    Michael McMahon, Bill Shannon (adapted for Jakarta Mail)
    • Constructor Detail

      • Ntlm

        public Ntlm​(String ntdomain,
                    String hostname,
                    String username,
                    String password,
                    MailLogger logger)
        Create an NTLM authenticator. Username may be specified as domain\\username in the Authenticator. If this notation is not used, then the domain will be taken from the ntdomain parameter.
        Parameters:
        ntdomain - the NT domain
        hostname - the host name
        username - the user name
        password - the password
        logger - the MailLogger
    • Method Detail

      • generateType1Msg

        public String generateType1Msg​(int flags)
      • generateType1Msg

        public String generateType1Msg​(int flags,
                                       boolean v2)
      • generateType3Msg

        public String generateType3Msg​(String type2msg)