mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-02-27 08:50:51 +01:00
Cleanup Code
Pushed-by: Rene Pfeuffer<rene.pfeuffer@cloudogu.com> Co-authored-by: René Pfeuffer<rene.pfeuffer@cloudogu.com>
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user