giovedì, giugno 07, 2007

profiling access to cas using a javascript trick

CAS It's a web application to implement SSO. In order to profile accessing to cas I have used a simple javascript trick, that, is I compose username with username and profile. The custom authentication handler of cas, tokenize the global username retrieving the real username and proceed to validate it with the password sent. Acegi side I can retrieve the profile inserted by user and associate the proper roles. In the next days I'll try to improve the content of this post, now it's late (3,44am) and I go to sleep.

1 commento:

Gorakh ha detto...

Hi Enrico

I found your post on google. As I am thinking about writing similar functionality I decided to look first if someone else did it already. How that JavaScript went? Did you manage to write it?