LDAPAuthority implements Authority { @Override public boolean allowAuthorization() { return false; }  @Override void initialize(); @Override String getID(); @Override String getDomain(); @Override String getHeader(); @Override String getAuthenticateChallenge(); @Override boolean allowAuthorization(); @Override Principal authenticate(String creds, String remoteAddr, String httpMethod, StringBuilder errMsg);  }
@Test public void testAllowAuthorization() { ldapAuthority = new LDAPAuthority(); ldapAuthority.initialize(); assertFalse(ldapAuthority.allowAuthorization()); }