    @Test
    public void testHashCode()
    {

        Authentication auth1 = new StringAuthentication( "key", "value" );
        Authentication auth2 = new StringAuthentication( "key", "value" );
        assertEquals( auth1.hashCode(), auth2.hashCode() );
    }