Can you just change the username to be [EMAIL PROTECTED] or username/group and then write a custom Realm on that. Custom Realms == easy to write. Custom authenticator Valves == PITA.

Look for any Bill Barker posts in the archives with Authenticator for more information about writing custom ones.

-Tim

Damian Minkov wrote:

For 2 weeks I'm fighting with the authentication in Tomcat.

Is it possible to make it authenticate the user with 3 params.
For example username, password, and group belongs to.
I need the third one because the roles of the user are different for
different groups.

I tried to make my own Valve and realm and to use the Valve as
authenticator but I can't get it work.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to