Results 1 to 4 of 4
  1. #1
    Join Date
    Nov 2010
    Posts
    2
    Rep Power
    0

    Question 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?

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

    Default

    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.

  3. #3
    Join Date
    Nov 2010
    Posts
    2
    Rep Power
    0

    Default

    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.. :(

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    20

Similar Threads

  1. Replies: 0
    Last Post: 12-01-2009, 02:42 PM
  2. problem in j_security_check authentication
    By Mrs. Deswal in forum Networking
    Replies: 2
    Last Post: 05-28-2009, 09:26 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •