Results 1 to 2 of 2
  1. #1
    mnd017 is offline Member
    Join Date
    Dec 2012
    Posts
    2
    Rep Power
    0

    Default Looking for the best JSF user auth in my case

    Today I have read about many different ways and I need to ask about them (so I created an account here, Hi!:))

    So, The most famous one is: FORM based authentication, using JDBC and realms configured in Glassfish. But I think it is a little bit.. not flexible. I don't want to set database name, and tables where will be username, password, group etc. as constant. It could change. And when I use many databases, where tables with passwords could be named differently - I think this solution will never work.

    Here is my case, and question: Which authentication mechanism should I use, in case when I've web-service that has a method which returns whether username and password are correct? That function will connect to DB itself to check whether user and password is ok.. I need only the whole mechanism that will care about which page display (login page or "requested" page). And in case login page, it will use that web-service method to check it..

    Really thanks for help,
    Last edited by mnd017; 12-11-2012 at 01:04 AM.

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is online now Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,300
    Rep Power
    20

    Default Re: Looking for the best JSF user auth in my case

    Moved from New to Java.

    db
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Bypas Auth In Java File Problem
    By Zyzex in forum Jobs Offered
    Replies: 1
    Last Post: 03-20-2012, 05:28 AM
  2. Bypas Auth In Java File Problem
    By Zyzex in forum New To Java
    Replies: 0
    Last Post: 03-20-2012, 04:57 AM
  3. Case help!!!
    By cloverrea in forum New To Java
    Replies: 1
    Last Post: 10-13-2011, 12:00 AM
  4. Replies: 0
    Last Post: 06-30-2008, 12:03 PM

Tags for this Thread

Posting Permissions

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