Just to clarify, you're not attempting to use the RESTful API for end-user authentication are you?
RESTful API is designed for service-to-service interaction. -Scott Battaglia PGP Public Key Id: 0x383733AA LinkedIn: http://www.linkedin.com/in/scottbattaglia On Thu, Apr 25, 2013 at 8:21 PM, sol myr <[email protected]> wrote: > Hi, > > Our application requirements are, to give some text explanation when login > fails (we have several reasons, such as "wrong password", "account locked > by administrator" etc). > Is there a way to return this reason through the RESTful API ( > https://wiki.jasig.org/display/CASUM/RESTful+API)? > I.e. when client asks for a TicketGrantingTicket (through REST), if he > provided correct credentials he'll get a response of the TGT. > But if he provided wrong credentials, he'll get an HTTP 400 *plus the > text* explanation for the failure reason. > > Is there a way to achieve this? > > Thank you > > > > > -- > You are currently subscribed to [email protected] as: > [email protected] > > To unsubscribe, change settings or access archives, see > http://www.ja-sig.org/wiki/display/JSG/cas-user > > -- You are currently subscribed to [email protected] as: [email protected] To unsubscribe, change settings or access archives, see http://www.ja-sig.org/wiki/display/JSG/cas-user
