Solved

Role based Menu - Java

Posted on 2011-03-15
11
1,520 Views
Last Modified: 2013-11-13
Hi,
We need to implement a Role Based Menu. We are using Spring Security to authenticate user. Base on user role we will hide/display the menu links. Any thing available out their to accomplish this??
0
Comment
Question by:shetty01
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 5
  • 2
11 Comments
 
LVL 20

Accepted Solution

by:
Sathish David  Kumar N earned 500 total points
ID: 35141182
while your loged in u can set the values in session depent upon ur role u can set the menus in JSP
use scriplet or JSTL
0
 

Author Comment

by:shetty01
ID: 35148529
Is their any menu scripts out their that we can use. so we dont have to write it from srcatch. Also make is work based on roles.
0
 
LVL 7

Expert Comment

by:techsathish
ID: 35162827
How you have created the menu.. let us know. then we ll try to give the solution..
0
Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

 
LVL 20

Assisted Solution

by:Sathish David Kumar N
Sathish David  Kumar N earned 500 total points
ID: 35162975
0
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 35162980
Or tell me answer for sathish !!
0
 

Author Comment

by:shetty01
ID: 35167853
I have not created any menu yet. I am looking for some menu where I can apply role based access.
0
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 35192297
is this answer ??
0
 
LVL 20

Expert Comment

by:Sathish David Kumar N
ID: 35227265
I told that answer http:#35141182   but user need alrady created menu so i have menu downloaded site  http:#35162975
0

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this post we will learn different types of Android Layout and some basics of an Android App.
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question