On 10/18/07, Rodrigo Madera <[EMAIL PROTECTED]> wrote:
> Hello community,
>
> I have a rather taste-oriented question here for us to debate,
> regarding how to do the Authorization checks of your application.
>
> How do you do it?
> Do you put Authorization parameters everywhere in your code for this?

Depends. In case I don't need it all over the place I tend to pass it
around. If I need it in lots of places and have only one User I use a
static else I use an (Inheritable)ThreadLocal. If security is enabled
anyways and we are not talking about an embedded scenario you could
consider taking the JAAS approach (i.e., joining the user based check
with the code based one) or go with JAAS directly (probably makes more
sense).

regards,

Karl

> Please share your insight as how you use the UserAdmin Authorization object.
>
> Regards,
> Rodrigo
>


-- 
Karl Pauls
[EMAIL PROTECTED]

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

Reply via email to