@Test(expected = IllegalArgumentException.class) public void testInvalidPrincipal() { new KerberosPrincipalParser().doParse("@HTTP/example.com"); }
@Override public KerberosPrincipal doParse(String raw) throws IllegalArgumentException { return new KerberosPrincipal(raw); }
KerberosPrincipalParser extends NonParameterizedTypeParser<KerberosPrincipal> { @Override public KerberosPrincipal doParse(String raw) throws IllegalArgumentException { return new KerberosPrincipal(raw); } }
KerberosPrincipalParser extends NonParameterizedTypeParser<KerberosPrincipal> { @Override public KerberosPrincipal doParse(String raw) throws IllegalArgumentException { return new KerberosPrincipal(raw); }  }
KerberosPrincipalParser extends NonParameterizedTypeParser<KerberosPrincipal> { @Override public KerberosPrincipal doParse(String raw) throws IllegalArgumentException { return new KerberosPrincipal(raw); }  @Override KerberosPrincipal doParse(String raw); }
KerberosPrincipalParser extends NonParameterizedTypeParser<KerberosPrincipal> { @Override public KerberosPrincipal doParse(String raw) throws IllegalArgumentException { return new KerberosPrincipal(raw); }  @Override KerberosPrincipal doParse(String raw);  }