Mark old group credential getter as `@Deprecated`

This commit is contained in:
Jon Chambers 2022-07-25 12:30:02 -04:00 committed by Jon Chambers
parent e9119da040
commit 7d4a8d03a4
1 changed files with 2 additions and 0 deletions

View File

@ -85,6 +85,8 @@ public class CertificateController {
@GET
@Produces(MediaType.APPLICATION_JSON)
@Path("/group/{startRedemptionTime}/{endRedemptionTime}")
@Deprecated(forRemoval = true) // Clients should now use getGroupAuthenticationCredentials instead
// TODO Assess readiness for removal on or after 2022-11-01
public GroupCredentials getAuthenticationCredentials(@Auth AuthenticatedAccount auth,
@PathParam("startRedemptionTime") int startRedemptionTime,
@PathParam("endRedemptionTime") int endRedemptionTime,