Results 1 to 4 of 4
Thread: j_security_check
- 11-07-2010, 12:11 AM #1
Member
- Join Date
- Nov 2010
- Posts
- 2
- Rep Power
- 0
j_security_check
hi,
i'm kinda beginner with J2EE but at the very least briefly know about most of its features. i would like to make a login for my application that uses j_security_check since it's cool how JAAS it restricts usage of each method of your EJBs and web pages etc. so far i made it authentificate/authorize user against records in database via simple login menu. i found out you can obtain the username from the principal object and you have some interface to generate pages dependent on that user's role. i wonder if there is a way to somehow obtain the whole user profile during the login process. i figured, the standard j_security_check doesn't much let you interact with the login form. how would you proceed with this?
- 11-07-2010, 01:35 AM #2
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Whole profile in j_security or in a custom approach. Normally with those inbuilt functionality added some limitations. Normally what I'm doing is through a normal database query retrieve all required details and store them temporally in sessions and so on.
- 11-07-2010, 10:33 AM #3
Member
- Join Date
- Nov 2010
- Posts
- 2
- Rep Power
- 0
yea but what i can't figure out is how do i notice there has been a login. in the form you can't add any functionality.. :(
- 11-09-2010, 12:26 PM #4
- Join Date
- Jul 2007
- Location
- Colombo, Sri Lanka
- Posts
- 11,374
- Blog Entries
- 1
- Rep Power
- 18
Similar Threads
-
wrong redirection from j_security_check when user in different role
By dyyyy in forum Web FrameworksReplies: 0Last Post: 12-01-2009, 02:42 PM -
problem in j_security_check authentication
By Mrs. Deswal in forum NetworkingReplies: 2Last Post: 05-28-2009, 09:26 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks