Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Dynamic menu and security context based on database

JuwNov 27 2013 — edited Dec 2 2013

hi gurus,

i have a case, where i want to put role and menu access on database.

i've seen the tutorial from edwin biemond to create a page navigation based on role from database data.

but from that tutorial, i realize that user still can access other page that are not show in the page navigation (menu)

so how can i drive the user that not authenticated to access several page (based on the role and menu from database) to the default page (home page)

example.

userJUW have role as a sales.

role sales only have access to menu : salesInput, salesReport

when userJUW tried to access other menu e.g : productReport (access the other menu via typing the url in browser url bar), then userJUW must be inform that he is not authenticated to access the productReport page and then redirect to home page.

pls throw some light

thanks

This post has been answered by Alejandro Tovar Lanz on Nov 29 2013
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 30 2013
Added on Nov 27 2013
10 comments
1,190 views