Skip to content

Commit

Permalink
fixed typo of "successful" in src and test
Browse files Browse the repository at this point in the history
  • Loading branch information
davidkey committed Jul 15, 2015
1 parent 5e28e87 commit 9a9b5dc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public KerberosTicketValidation validateTicket(byte[] token) {
return Subject.doAs(this.serviceSubject, new KerberosValidateAction(token));
}
catch (PrivilegedActionException e) {
throw new BadCredentialsException("Kerberos validation not succesful", e);
throw new BadCredentialsException("Kerberos validation not successful", e);
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public class SunJaasKerberosTicketValidatorTests {
public void testJdkMsKrb5OIDRegressionTweak() throws Exception {
thrown.expect(BadCredentialsException.class);
thrown.expectMessage(not(containsString("GSSContext name of the context initiator is null")));
thrown.expectMessage(containsString("Kerberos validation not succesful"));
thrown.expectMessage(containsString("Kerberos validation not successful"));
SunJaasKerberosTicketValidator validator = new SunJaasKerberosTicketValidator();
byte[] kerberosTicket = Base64.decode(header.getBytes());
validator.validateTicket(kerberosTicket);
Expand Down

0 comments on commit 9a9b5dc

Please sign in to comment.