KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > openedit > archive > WindowsLoginTest


1 package com.openedit.archive;
2
3 import com.openedit.archive.authenticate.WindowsAuthentication;
4
5
6 public class WindowsLoginTest extends ArchiveTest
7 {
8     public WindowsLoginTest(String JavaDoc inName) {
9         super(inName);
10         // TODO Auto-generated constructor stub
11
}
12
13     public void testWindows() throws Exception JavaDoc
14     {
15         WindowsAuthentication auth = new WindowsAuthentication();
16         boolean ok = auth.login("TesterTwo", "test","Mshome", "192.168.1.6");
17         assertTrue( ok );
18     }
19 }
20
Popular Tags