Rather than rewrite s:a and s:url, why not wrap the display in an s:if
test? It might be easier to abstract a test stating "is this user
granted the appropriate authority" and just plug that into s:if

-Wes

On Tue, Aug 19, 2008 at 4:44 AM, Haulyn R. Jason <[EMAIL PROTECTED]> wrote:
> Hi,all
> I have an Authentication problem. I use Interceptor to authenticate
> actions and methods, based on different member and different role.
> Everything works well.But my client can not access some resource, for
> example a url, so they should not see the url. I think maybe I can
> re-write <s:a> tag or using an Interceptor to check should a <s:a />tag
> be rendered to the clients. I can not find any reference.
> Without this way, does struts2 have it's own way to solve the problem?
>
> Thanks!
>
> --
>
> Thanks!
>
> Mobile: +086-15864011231
> EMail&gtalk:[EMAIL PROTECTED]
> EMail&yahoo:[EMAIL PROTECTED]
> Skype:saharabear
>
>
> Haulyn Runner Jason
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>



-- 
Wesley Wannemacher
President, Head Engineer/Consultant
WanTii, Inc.
http://www.wantii.com

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

Reply via email to