Forums Register Login

Login JSP

+Pie Number of slices to send: Send
Where should i go to find out more about, how to implememnt login features into my Struts>JSP Application. I need to design tables that take into account Users>Roles>Permissions etc... But i am not sure how to retrieve that information and use it properly in displaying pages where certain links won't show up depending on your permissions... Can someone tell me where to look for info??
Thanks a bunch
+Pie Number of slices to send: Send
Well this is a great place to ask questions about what's confusing you. What have you come up with so far?
Also, such topics have been discussed in the past. Searching through such forums as Servlets, JSP, HTML/Javascript and perhaps even JDBC might get you on the right road.
+Pie Number of slices to send: Send
Hi Greg,
J2EE has an excellent security infrastructure, allowing you to declare in your web.xml descriptor which servlets / methods / JSP's require security based on roles (as declared in the server.xml descriptor in tomcat). You can use different kinds of authentication where the server prompts for login and determines access accordingly. (ie simple, form-based, etc).
See the J2EE tutorial online to learn the details of how this is achieved. Or a good J2EE book. New Riders "Java for the Web" is great.
+Pie Number of slices to send: Send
Hi Guys

Thanks, what i have done so far is design the tables for, Roles, Users, Permissions, and the Permission Role cross reference table. It would be excellent to be able to configure it so that only certain links show up on the menu pages for certain permissions. I was sure there was a better way than retrieving a profile bean and putting if statements around all the Menu choices. That seemed to primitive. I think i mentioned above that i am using struts, JSP's and SQL Server. I would like to do this the cleanest way possible.
Where can i locate that online tutorial? I will look for the book you specified tomorrow. I am working on it today so maybe i can find some stuff on the Sun Website. I will definitely be back to ask more questions though. Have not been to this site since i was taking my developers cert like 3 years ago, forgot all about it. Great Site
Thanks
Greg B
+Pie Number of slices to send: Send
There's a hole in the bucket, dear Liza, dear Liza, a hole in the bucket, dear liza, a tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1208 times.
Similar Threads
Forwarding data struts.xml
Dobut in Realm Authentication
How to get user login info
Security features in Jboss
Redirecting from Java Scriptlet in JSP
Thread Boost feature
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 06:13:54.