Those are IDs (and I'm positive they have to be unique); I was referring to <property name="name" value="BASIC" /> in each bean. Maybe Spring doesn't mind that, I don't remember (I mainly use annotations these days), but it seemed like an easy thing for you to check.
More generally, I'd simplify your config till it works and then you can add back in the bells and whistles. So any references to admin are superfluous to what you're currently trying to get working; comment all that out and see if it works. If it does, you know something's wrong with that aspect of your config; if not, at least you know that's not the problem. On Apr 6, 2015 9:46 PM, "Scammell" <mark.har...@meridianenergy.co.nz> wrote: > Tim Bain wrote > > I thought Spring didn't allow multiple beans with the same name... Try > > commenting out the admin one, and if that works then try changing the > > admin > > one's name. > > Don't the beans already have different names? "securityConstraint" and > "adminSecurityConstraint". > > Mark > > > > -- > View this message in context: > http://activemq.2283324.n4.nabble.com/SecurityException-User-is-not-authenticated-tp4694392p4694403.html > Sent from the ActiveMQ - User mailing list archive at Nabble.com. >