@ControllerAdvice public class AccessDeniedExceptionMapper extends Object
Constructor and Description |
---|
AccessDeniedExceptionMapper() |
Modifier and Type | Method and Description |
---|---|
org.springframework.http.ResponseEntity<Object> |
toResponse(org.springframework.security.access.AccessDeniedException exception) |
public AccessDeniedExceptionMapper()
@ExceptionHandler(value=org.springframework.security.access.AccessDeniedException.class) public org.springframework.http.ResponseEntity<Object> toResponse(org.springframework.security.access.AccessDeniedException exception)
Copyright © 2024 Global Biodiversity Information Facility (GBIF). All rights reserved.