Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-9258

User Management: When saving, settings are updated even if they are incorrect/invalid

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • High
    • 3.2
    • None
    • None
    • parent: 15705:0a9ea9cc1509 tip
      version 3.2-SNAPSHOT build 2511 - 11 Jul 11

    Description

      Note: this also reproes for the server url.

      • Switch user base to use a remote crowd server
      • Type in incorrect password and click save
      • An error will show

      Expected: Sync to continue to work

      Actual: The wrong password was saved and all syncs start to fail.

      
      [INFO] [talledLocalContainer] 2011-07-13 11:00:43,228 INFO [http-9099-1] [UserGroupCache] Cache flushed
      [INFO] [talledLocalContainer] 2011-07-13 11:00:45,794 INFO [http-9099-1] [AccessLogFilter] crowduser GET http://localhost:9099/bamboo/admin/userManagement!flush.action 163761kb
      [INFO] [talledLocalContainer] 2011-07-13 11:00:45,796 INFO [http-9099-1] [UserGroupCache] Cache flushed
      [INFO] [talledLocalContainer] 2011-07-13 11:01:03,535 INFO [QuartzScheduler_Worker-6] [UserGroupCache] Populating user/group membership cache due to refreshCache
      [INFO] [talledLocalContainer] 2011-07-13 11:01:03,601 http-4990-1 INFO [plugin.rest.filter.BasicApplicationAuthenticationFilter] Application 'bamboo' failed authentication
      [INFO] [talledLocalContainer] 2011-07-13 11:01:03,601 INFO [QuartzScheduler_Worker-6] [AuthChallengeProcessor] basic authentication scheme selected
      [INFO] [talledLocalContainer] 2011-07-13 11:01:03,602 INFO [QuartzScheduler_Worker-6] [HttpMethodDirector] Failure authenticating with BASIC 'Crowd REST Service'@localhost:4990
      [INFO] [talledLocalContainer] 2011-07-13 11:01:03,602 WARN [QuartzScheduler_Worker-6] [HttpMethodBase] Going to buffer response body of large or unknown size. Using getResponseBodyAsStream instead is recommended.
      [INFO] [talledLocalContainer] 2011-07-13 11:01:03,605 WARN [QuartzScheduler_Worker-6] [CrowdClientControl] Failed to refresh the user and group cache
      [INFO] [talledLocalContainer] com.atlassian.user.EntityException: com.atlassian.crowd.exception.InvalidAuthenticationException: Application failed to authenticate
      [INFO] [talledLocalContainer]   at com.atlassian.crowd.integration.atlassianuser.UserGroupCache.fetchAndSetSnapshot(UserGroupCache.java:102)
      [INFO] [talledLocalContainer]   at com.atlassian.crowd.integration.atlassianuser.UserGroupCache.refreshCache(UserGroupCache.java:411)
      [INFO] [talledLocalContainer]   at com.atlassian.crowd.integration.atlassianuser.UserGroupCache.refreshCacheIfNecessary(UserGroupCache.java:432)
      [INFO] [talledLocalContainer]   at com.atlassian.crowd.integration.atlassianuser.CrowdClientControl.refreshCacheIfNecessary(CrowdClientControl.java:89)
      [INFO] [talledLocalContainer]   at com.atlassian.bamboo.user.BambooUserRefreshJobScheduler$BambooUserRefreshJob.execute(BambooUserRefreshJobScheduler.java:73)
      [INFO] [talledLocalContainer]   at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
      [INFO] [talledLocalContainer]   at com.atlassian.bamboo.quartz.SystemAuthorizedThreadPool$1.run(SystemAuthorizedThreadPool.java:38)
      [INFO] [talledLocalContainer]   at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
      [INFO] [talledLocalContainer] Caused by: com.atlassian.crowd.exception.InvalidAuthenticationException: Application failed to authenticate
      [INFO] [talledLocalContainer]   at com.atlassian.crowd.integration.rest.service.RestExecutor.throwError(RestExecutor.j
      

      Attachments

        Issue Links

          Activity

            People

              onevalainen Olli Nevalainen
              farmas Federico Silva Armas [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: