Hello!

I have got an application, where users are authenticated with ldap firstly.

Afterwards, there will be another database, which defines the roles, the user is
in. When the user is logged in, the roles are read from this table and should be
applied to struts, in order to use afterwards the tag isUserInRole.

My question now is:
How must I set the roles the user is actually in (a user could be in more than
one role at the same time), after the user has been logged in, that I can use
the tag isUserInRole in the jsp file for hiding or not some pieces of the page?


Thanks for any hint,
kind regards,
Andreas Hartmann


----------------------------------------------------------------------------------------------------------------------------------------------

FIDUCIA IT AG
Fiduciastraße 20
76227 Karlsruhe

Sitz der Gesellschaft: Karlsruhe
AG Mannheim HRB 100059

Vorsitzender des Aufsichtsrats: Erwin Kuhn
Vorsitzender des Vorstands: Michael Krings
Vorstand: Klaus-Peter Bruns, Hans-Peter Straberger, Eckhardt Werner

Umsatzsteuer-ID.Nr. DE143582320, http://www.fiducia.de
----------------------------------------------------------------------------------------------------------------------------------------------



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

Reply via email to