[cas-dev] different login pages

Scott Battaglia scott.battaglia at gmail.com
Fri May 25 08:47:37 EDT 2007


You can use different authentication handlers for different login pages as
long as the Credentials passed in from the login page are different (or have
some kind of identifier).

CAS works by matching up the Credentials passed in (i.e.
UsernamePasswordCredentials) to an AuthenticationHandler by calling the
supports() method on each authentication handler and only trying ones that
return true.  Supports methods can be used to check both the class type and
any of the information contained within the Credentials.

-Scott

On 5/24/07, Meik Suchlich <meik.suchlich at brand-ad.de> wrote:
>
> You can post it here, I think.
>
> I found out how it works now. Made a Mistake in implementation.
> But another Question is now open.
> Can I use different AuthenticationHandlers for the different login-pages?
>
> Meik
>
> -----Ursprüngliche Nachricht-----
> Von: cas-dev-bounces at tp.its.yale.edu [mailto:
> cas-dev-bounces at tp.its.yale.edu] Im Auftrag von Javier D' Accorso
> Gesendet: Donnerstag, 24. Mai 2007 15:37
> An: 'Mailing list for CAS developers'
> Betreff: Re: [cas-dev] mod_cas, remote_user and reverse_proxy
>
> I developed a solution that fix your problem. Is exists an CAS email where
> I
> can send it to be shared?
>
> Regards
>
> Javier
>
> -----Original Message-----
> From: cas-dev-bounces at tp.its.yale.edu
> [mailto:cas-dev-bounces at tp.its.yale.edu] On Behalf Of Meik Suchlich
> Sent: Thursday, May 24, 2007 8:19 AM
> To: Mailing list for CAS developers
> Subject: Re: [cas-dev] mod_cas, remote_user and reverse_proxy
>
> Hi,
>
> can someone tell me, howto configure different login-pages with cas?
> What I want:
>
> If someone uses the one application redirected to cas, cas will show
> Login-Page a.
> If someone uses the other application redirected to same cas, cas will
> show
> Login-Page b.
>
> My Idea how it may work: In the application web.xml I configure another
> loginurl for both applications.
> How do I have to configure cas to do what I explained above?
>
> Thanks for help!
>
> Meik
> _______________________________________________
> cas-dev mailing list
> cas-dev at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas-dev
>
> _______________________________________________
> cas-dev mailing list
> cas-dev at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas-dev
>
>
> _______________________________________________
> cas-dev mailing list
> cas-dev at tp.its.yale.edu
> http://tp.its.yale.edu/mailman/listinfo/cas-dev
>



-- 
-Scott Battaglia

LinkedIn: http://www.linkedin.com/in/scottbattaglia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tp.its.yale.edu/pipermail/cas-dev/attachments/20070525/205a5be5/attachment.html 


More information about the cas-dev mailing list