NUBIC / aker

A flexible security framework for Rack (and Rails) apps. Good for integration with legacy systems, CAS SSO (including proxying), machine and interactive authentication, and much more.
MIT License
1 stars 2 forks source link

Allow "unauthorized" response to be replaced #13

Open rsutphin opened 13 years ago

rsutphin commented 13 years ago

Warden's implementation of a failed access attempt bypasses the normal rack middleware stack. This means that it is not possible to replace Aker's default, spare authorization failed message. Add a configurable hook for middleware which does override it.