The TicketResource has a method you can override (I believe its called
obtainCredentials()) that you can do whatever you want in (as long as your
return a Credentials object :-)).

That should get you access to whatever you need.

Cheers,
Scott


On Mon, Sep 24, 2012 at 12:15 PM, Rex Posadas <[email protected]>wrote:

> Hi All,
>
> According to this: https://wiki.jasig.org/display/CASUM/RESTful+API I
> can pass a parameter during a REST call. i.e.
>
> POST /cas/v1/tickets HTTP/1.0
> username=battags&password=password&additionalParam1=paramvalue
>
>
> How would you create a custom Handler that would parse these parameters
> and build authentication logic around it?  What does the java code look
> like.  I assume you create a custom handler for this, if not, please let
> me know. I am particularly looking for a java solution.
>
> Thanks,
> Rex
>
>
> --
> 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

Reply via email to