User access management in j2ee web application?

It's kinda a vague exaplanation but you could use an if in your jsp to hide the menu options based on *id_profil*, something like this: c:if test="${currentUser. Id_profil == 1}.

It's kinda a vague exaplanation but you could use an if in your jsp to hide the menu options based on *id_profil*, something like this.

Keep in mind that by changing the values shown by a menu, you aren't preventing a user from accessing a page directly -- even if the user can't get to xyz. Jsp by dropping down a menu item, they can still enter xyz. Jsp into the address bar of their browser.So you'll have to block the access in another way.

If you have any experience with Spring, or are considering implementing it, take a look at Spring Security. It can be used to limit user access rights to different parts of your application.It isn't terribly hard to implement if you are already familiar with Spring. ETA: For some basics that don't involve Spring Security, check out security in web.

Xml: java.sun.com/javaee/5/docs/tutorial/doc/....

I am working with jsp/servlet project and I have to complete the module of access management to my jsps since I have more than one user with different profile. Now I am trying to let the menu modified appropriately to the id_profil of the logged user. So there are pages allowed in one profile but must be hidden to others.

I have no idea since now how to realize this.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions