Class WindowsCredentials


  • public class WindowsCredentials
    extends Object
    A simple C-struct style class for organizing auth info for Windows
    Author:
    Byron Nevins
    • Constructor Detail

      • WindowsCredentials

        public WindowsCredentials​(String host,
                                  String domain,
                                  String user,
                                  String password)
        Parameters:
        host - - IP address ("1.2.3.4" format) or name of the remote machine
        domain - - domain that user is in -- if no Windows Domain - use hostname
        user - - username
        password - - password
    • Method Detail

      • getHost

        public final String getHost()
      • getDomain

        public final String getDomain()
      • getUser

        public final String getUser()
      • getPassword

        public final String getPassword()