Results 1 to 2 of 2

Thread: Why should userid and pwd be in applicationContext?

  1. #1
    Join Date
    Oct 2008
    Posts
    8

    Default Why should userid and pwd be in applicationContext?

    I am a beginner for Spring Security.

    I have a quick question.....

    I don't understand why there are userid and pwd information of users in the applicationContext file?

    Whenever we have a new user, do we need to automatically update the applicationContext file?

  2. #2
    Join Date
    Jan 2008
    Location
    San Diego
    Posts
    780

    Default

    You are probably referring to the example user service? In the real world, you would normally store your user information (credentials, roles) in a data base. However, you could store them in the application context config if your needs were simple..

Posting Permissions

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