@Test
public void testAuthenticateIllegal() {

    PrincipalAuthority serviceAuthority = new PrincipalAuthority();
    Principal principal = serviceAuthority.authenticate("aaaa", null, "GET", null);
    assertNull(principal);
}