Pared down nonce reuse exception message to just say that the nonce has already been used

pull/306/merge
Amanda Anganes 2013-03-22 12:36:24 -04:00
parent b28b0615fa
commit d38c5b4200
1 changed files with 1 additions and 2 deletions

View File

@ -8,8 +8,7 @@ public class NonceReuseException extends OAuth2Exception {
private static final long serialVersionUID = 1L;
public NonceReuseException(String clientId, Nonce alreadyUsed) {
super("Client " + clientId + " attempted to use nonce " + alreadyUsed.getValue() + " which was used previously at "
+ alreadyUsed.getUseDate().toString() + " and expires at " + alreadyUsed.getExpireDate());
super("Client " + clientId + " attempted to use reuse nonce " + alreadyUsed.getValue());
}
}