Called when a user is not authenticated.
Called when a user is not authenticated.
As defined by RFC 2616, the status code of the response should be 401 Unauthorized.
The request header.
The result to send to the client.
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.
Exception handler which chains the exceptions handlers from the sub types.
Exception handler which chains the exceptions handlers from the sub types.
The request header.
A partial function which maps an exception to a Play result.
Error handler for secured actions.