Grokking Spring Boot
0% completed
Method Security
Failed to authorize ReflectiveMethodInvocation: public com.example.booking.bookings.Booking com.example.booking.bookings.BookingService.findBooking(long); target is of class [com.example.booking.bookings.BookingService] with authorization manager org.springframework.security.authorization.method.PostAuthorizeAuthorizationManager@6218b7b2 and authorizationResult ExpressionAuthorizationDecision [granted=false, expressionAttribute=returnObject.customer.email == authentication.name or hasRole('ADMIN')]
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%