Cleanup Code

Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com>
Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
This commit is contained in:
Laura Gorzitze
2024-02-06 14:54:00 +01:00
parent b34a989c57
commit d8e1f2d739
910 changed files with 2670 additions and 19707 deletions

View File

@@ -24,25 +24,17 @@
package sonia.scm.api.rest;
//~--- non-JDK imports --------------------------------------------------------
import jakarta.ws.rs.core.Response;
import jakarta.ws.rs.ext.Provider;
import org.apache.shiro.authc.DisabledAccountException;
/**
*
* @author Sebastian Sdorra
*/
@Provider
public class DisabledAccountExceptionMapper
extends StatusExceptionMapper<DisabledAccountException>
{
/**
* Constructs ...
*
*/
public DisabledAccountExceptionMapper()
{
super(DisabledAccountException.class, Response.Status.FORBIDDEN);