On 10/2/07, Juan Gabriel Arias <[EMAIL PROTECTED]> wrote:
> The second one.
> Components should check some roles and enable or disable itself.

Just look closely at how wicket-auth is implemented. It is basically
an example project to show how you can do this stuff yourself.

Note that there is typically a difference between whether something is
visible and whether it is enabled and whether instantiation is
allowed. You need to focus on
IAuthorizationStrategy#isActionAuthorized (Action#RENDER and
Action#ENABLED).

Eelco

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

Reply via email to