| I suppose. It's nice to know the difference between a broken mechanism and incorrect credentials though.
Here is my change as a patch:
|
set_forbidden_status_in_restful_api_for_incorrect_credentials.diff
Description: Binary data
On 22-Sep-08, at 6:46 PM, Scott Battaglia wrote: There's nothing really to forbid. You didn't log in using one of the standard HTTP Authentication mechanisms. You're trying to obtain a TGT and gave bad input. -Scott -Scott Battaglia PGP Public Key Id: 0x383733AA LinkedIn: http://www.linkedin.com/in/scottbattaglia On Mon, Sep 22, 2008 at 9:31 PM, Michael Johnston <[EMAIL PROTECTED]> wrote: Currently TicketResource returns http status CLIENT_ERROR_BAD_REQUEST regardless of why the ticket creation request failed. Should it not return status CLIENT_ERROR_FORBIDDEN if authentication failed due to bad credentials? The exception is chained so to patch this I guess I have to figure out how to handle chained exceptions. Cheerio, Michael Johnston [EMAIL PROTECTED] _______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas _______________________________________________ Yale CAS mailing list [email protected] http://tp.its.yale.edu/mailman/listinfo/cas
|
_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas