Exception handler which translates an com.mohiva.play.silhouette.api.exceptions.NotAuthorizedException into a 403 Forbidden result.
Exception handler which translates an com.mohiva.play.silhouette.api.exceptions.NotAuthorizedException into a 403 Forbidden result.
The request header.
A partial function which maps an exception to a Play result.
A named logger instance.
A named logger instance.
Called when a user is authenticated but not authorized.
Called when a user is authenticated but not authorized.
As defined by RFC 2616, the status code of the response should be 403 Forbidden.
The request header.
The result to send to the client.
Returns an adequate response considering the required status code, the user-friendly message, and the requested media type.
Returns an adequate response considering the required status code, the user-friendly message, and the requested media type.
The status code of the response.
The user-friendly message.
The request header.
Handles not authorized requests in a default way.