Skip to content

Commit

Permalink
Clear basicDigestAuthentications on deserialization
Browse files Browse the repository at this point in the history
  • Loading branch information
offa committed Jul 28, 2022
1 parent 29ff54c commit 1e5984b
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,4 +118,14 @@ public Authenticator getAuthentication(String keyName) {
}
return null;
}

/**
* @deprecated Remove once {@link #basicDigestAuthentications}, {@link #getBasicDigestAuthentications()}
* and {@link ##setFormAuthentications(List)} are removed.
*/
@Deprecated
protected Object readResolve() {
this.basicDigestAuthentications = new ArrayList<>();
return this;
}
}

0 comments on commit 1e5984b

Please sign in to comment.