Hello

Context :
My company have a special way to determine and to authorize some user.
The url of the application must be :
http://server:port/Context/context_for_user_category/myAction.do
An authorization filter use the context_for_user_category to determine which
authorization server and model to use. It means that if the application is
access by a team in the main building, they use something like
http://server:port/Context/mainBuilding/myAction.do, and if they are in
another one, they user
http://server:port/Context/anotherBuilding/myAction.do. (There is only one
application running)

I must have only one application for all the users.

I tried to create one filtermapping for each subcontext (/mainBuilding/*,
/anotherBuilding/*), but in this case, I need to duplicate each package of
struts config file with namespace equal to each subcontext. It's not good
...

Does anybody see how should I handle this ?

Thx for your help


Barry

Reply via email to