Thanks Bryan,
I read about X509 handler and the guide I found was very usefull to me.
Now I succeeded creating a new jar and simply inserting it in
CAS_HOME/webapps/cas/WEB-INF/lib, it's very trivial, I know it...but now it
works. Could this way be a problem?

I have still a question...what should I do to specify a class to execute
only when authentication is successfull? Is there a way?

Thanks for reply Bryan! Happy to find help at my first time writing on this
list :-)

2009/9/24 Bryan Wooten <bwoo...@acs.utah.edu>

> Rosa,
>
> I added an additional authentication handler by using the X509 handler as a
> template and changing the logic to authenticate an OpenSSO token.
>
> I then used the "overlay build" process to create the CAS war file.   It
> was actually a very straight forward process and with help of other people
> on this list very successful.
>
> I hope this helps.
>
> Cheers,
>
> Bryan
>
> -----Original Message-----
> From: Rosa [mailto:spina.r...@gmail.com]
> Sent: Thursday, September 24, 2009 5:16 AM
> To: cas-dev@lists.jasig.org
> Subject: [cas-dev] Extending AuthenticationHandler
>
> Hi all,
> I need server CAS to perform some else operation when user log in: I want
> it to write credentials inserted by user in a file or DB. I was thinking to
> do it extending AuthenticationHandler class so to perform login and other
> operations.
>
> The point is: where should I place my class extending
> AuthenticationHandler? I look around for solution, but I didn't find one.
>
> Another thing: I know I must add my handler to list in
> deployerConfigContext.xml file as follow:
>
> <property name="authenticationHandlers">
>  <list>
>    <class="org.jasig.cas.authentication.AuthenticationManagerImpl">
>    <class="com.my.extending.myClass">
>  </list>
> </bean>
>
> I would know if bean in the list are all executed or not. If not, which one
> is executed?
>
> Sorry for my bad explanation, I'm newbie to CAS and surely I didn't use the
> appropriate language.
>
> Hope in help by you, thanks for attention!
> --
> You are currently subscribed to cas-dev@lists.jasig.org as:
> bwoo...@acs.utah.edu
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-dev
>
> --
> You are currently subscribed to cas-dev@lists.jasig.org as:
> spina.r...@gmail.com
> To unsubscribe, change settings or access archives, see
> http://www.ja-sig.org/wiki/display/JSG/cas-dev
>

-- 
You are currently subscribed to cas-dev@lists.jasig.org as: 
arch...@mail-archive.com
To unsubscribe, change settings or access archives, see 
http://www.ja-sig.org/wiki/display/JSG/cas-dev

Reply via email to