Max/Backend/loginApi Ajout mock Users et Tokens #62
@ -0,0 +1,12 @@
|
|||||||
|
package ovh.herisson.Clyde.Responses;
|
||||||
|
|
||||||
|
|
||||||
|
import org.springframework.http.HttpStatus;
|
||||||
|
import org.springframework.http.ResponseEntity;
|
||||||
|
|
||||||
|
|
||||||
|
public class UnauthorizedResponse extends ResponseEntity<String> {
|
||||||
|
public UnauthorizedResponse(String message) {
|
||||||
|
super(message,HttpStatus.UNAUTHORIZED);
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user