@Test(groups="kerberos-tests")
public void testSetLoginWindow() throws NoSuchFieldException, SecurityException,
        IllegalArgumentException, IllegalAccessException {

    Class<KerberosAuthority> c = KerberosAuthority.class;
    KerberosAuthority check  = new KerberosAuthority();
    
    check.setLoginWindow((long)100);
    
    Field f = c.getDeclaredField("loginWindow");
    f.setAccessible(true);
    long m = (long) f.get(check);
    
    assertEquals(m,100);
}