{"action":"opened","issue":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2474","labels_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2474/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2474/comments","events_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/2474/events","html_url":"https://github.com/spring-projects/spring-boot/issues/2474","id":57131159,"number":2474,"title":"Fragility in AuthenticationManagerConfiguration","user":{"login":"rwinch","id":362503,"avatar_url":"https://avatars.githubusercontent.com/u/362503?v=3","gravatar_id":"","url":"https://api.github.com/users/rwinch","html_url":"https://github.com/rwinch","followers_url":"https://api.github.com/users/rwinch/followers","following_url":"https://api.github.com/users/rwinch/following{/other_user}","gists_url":"https://api.github.com/users/rwinch/gists{/gist_id}","starred_url":"https://api.github.com/users/rwinch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwinch/subscriptions","organizations_url":"https://api.github.com/users/rwinch/orgs","repos_url":"https://api.github.com/users/rwinch/repos","events_url":"https://api.github.com/users/rwinch/events{/privacy}","received_events_url":"https://api.github.com/users/rwinch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"rwinch","id":362503,"avatar_url":"https://avatars.githubusercontent.com/u/362503?v=3","gravatar_id":"","url":"https://api.github.com/users/rwinch","html_url":"https://github.com/rwinch","followers_url":"https://api.github.com/users/rwinch/followers","following_url":"https://api.github.com/users/rwinch/following{/other_user}","gists_url":"https://api.github.com/users/rwinch/gists{/gist_id}","starred_url":"https://api.github.com/users/rwinch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rwinch/subscriptions","organizations_url":"https://api.github.com/users/rwinch/orgs","repos_url":"https://api.github.com/users/rwinch/repos","events_url":"https://api.github.com/users/rwinch/events{/privacy}","received_events_url":"https://api.github.com/users/rwinch/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/spring-projects/spring-boot/milestones/32","labels_url":"https://api.github.com/repos/spring-projects/spring-boot/milestones/32/labels","id":900006,"number":32,"title":"1.1.11","description":"","creator":{"login":"philwebb","id":519772,"avatar_url":"https://avatars.githubusercontent.com/u/519772?v=3","gravatar_id":"","url":"https://api.github.com/users/philwebb","html_url":"https://github.com/philwebb","followers_url":"https://api.github.com/users/philwebb/followers","following_url":"https://api.github.com/users/philwebb/following{/other_user}","gists_url":"https://api.github.com/users/philwebb/gists{/gist_id}","starred_url":"https://api.github.com/users/philwebb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/philwebb/subscriptions","organizations_url":"https://api.github.com/users/philwebb/orgs","repos_url":"https://api.github.com/users/philwebb/repos","events_url":"https://api.github.com/users/philwebb/events{/privacy}","received_events_url":"https://api.github.com/users/philwebb/received_events","type":"User","site_admin":false},"open_issues":2,"closed_issues":40,"state":"open","created_at":"2014-12-11T04:46:17Z","updated_at":"2015-02-10T05:01:34Z","due_on":"2015-02-19T08:00:00Z","closed_at":null},"comments":0,"created_at":"2015-02-10T05:01:34Z","updated_at":"2015-02-10T05:01:34Z","closed_at":null,"body":"`AuthenticationManagerConfiguration#isAuthenticationManagerAlreadyConfigured` is quite fragile because it checks to see how many `GlobalAuthenticationConfigurerAdapter` there are. If more are added by the framework (i.e. #2473), then it won't work.\r\n\r\nAdditionally, it seems there is a bit of cleanup we can do in `AuthenticationManagerConfiguration` to make things a bit easier."}}