Add an attribute into SimplePrincipal, set the value of the attribute
according to the login type and return the attribute during validation.

Regards,

Shi Yusen/Beijing Langhua Ltd.


在 2009-03-20五的 08:32 -0500,Diego Benedicto写道:
> Hi all,
> 
> I have to make a CAS modification to achieve a requirement:
> 
> -I have 2 web app CASified: 
>     -app1 has a login flow defined to authenticate with user/pass (weak 
> authentication)
>     -app2 has a login flow defined to authenticate with x509 certificate 
> (strong authenticate)
> 
> So, what I want to achieve is: if user authenticates via CAS in app1 and 
> after he wants to enter in app2, he will have to authenticate with x509 
> certificate.
> 
> And if he authenticates in app2, he will be able to enter in app1.
> 
> To sum all, if an user authenticates with x509 certificate, he will be able 
> to access all app CASified.
> And if he authenticates with user/pass, and he try to access an app that 
> require x509 certificate, he cannot until he authenticate with his 
> certificate.
> 
> Thanks in advance,
> Diego
> 


-- 
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