Results 1 to 5 of 5
  1. #1
    shawpon is offline Member
    Join Date
    Aug 2013
    Posts
    1
    Rep Power
    0

    Post How reconnect Data source after login authentication in grails?

    I want to access different databases for each user and I want to identify the database source at the time of login.

    I have a core database where users’ access and database URL information are exist. At the time of login, user will enter username and password for login then check authentication with the core database first. If the user has authorization, user will reconnect his database source with database URL information.

    No references are available. I am not sure about Grails support configuration and usage of multiple data sources at the run time.

    NB: I use the spring security core plugin there.

    Thanks

  2. #2
    DarrylBurke's Avatar
    DarrylBurke is offline Member
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,188
    Rep Power
    19

    Default Re: How reconnect Data source after login authentication in grails?

    Moved from Advanced Java. Grails isn't Java.

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

  3. #3
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,596
    Rep Power
    5

    Default Re: How reconnect Data source after login authentication in grails?

    That's a discussion point. Groovy isn't the Java LANGUAGE, but it certainly runs on the Java PLATFORM.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  4. #4
    PhHein's Avatar
    PhHein is offline Senior Member
    Join Date
    Apr 2009
    Location
    Germany
    Posts
    1,430
    Rep Power
    7

    Default Re: How reconnect Data source after login authentication in grails?

    Maybe that's why DB didn't lock the thread or moved it to the tar pits ;)
    Math problems? Call 1-800-[(10x)(13i)^2]-[sin(xy)/2.362x]
    The Ubiquitous Newbie Tips

  5. #5
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    3,596
    Rep Power
    5

    Default Re: How reconnect Data source after login authentication in grails?

    Yes but it begs the question: do the Java forums relate to the Java LANGUAGE or the Java PLATFORM? Because if its the platform then there should be no reason to move Groovy or Scala oriented questions out of them.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

Similar Threads

  1. Login Authentication Using Bean and Servlet in JSP
    By proksy in forum Enterprise JavaBeans (EJB)
    Replies: 2
    Last Post: 06-11-2012, 03:00 AM
  2. Replies: 0
    Last Post: 01-12-2012, 10:46 AM
  3. Single user Login authentication
    By vinoopraj in forum Web Frameworks
    Replies: 0
    Last Post: 07-20-2010, 08:19 AM
  4. Biometric Thumb Impression Authentication for login in jsp
    By kishore rajkumar in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 08-12-2009, 02:30 PM
  5. Replies: 1
    Last Post: 08-05-2008, 10:18 AM

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
  •