user authentication in every page using struts2

i have many users with different priviledges for my application being developed in struts2.i do not want any user to access any page in the application to which he is not authorized.(say if the user A get an url of user B,he shudnt be gettiing user B's page as he does not teh same priviledges.what all options do i have for encorporating this security concern

[quote=kashish gautam]i have many users with different priviledges for my application being developed in struts2.i do not want any user to access any page in the application to which he is not authorized.(say if the user A get an url of user B,he shudnt be gettiing user B's page as he does not teh same priviledges.what all options do i have for encorporating this security concern[/quote]

Thanks for the reply.m sorry,i forgot to mention it last time tht i do nt prefer using container security.say simply if i do not want the url to be copied and pasted elsewhere and be working.how do i disable that.thanks in advance