Ich habe die folgende Konfiguration in meiner Feder Kontext:Federprofile: Welches <beans> Element sollte geparst werden?
<beans profile="!prof1" >
<security:authentication-manager id="authenticationManager" erase-credentials="true">
<security:authentication-provider ref="1" />
<security:authentication-provider ref="2" />
<security:authentication-provider ref="3" />
</security:authentication-manager>
</beans>
<beans profile="prof1" >
<security:authentication-manager id="authenticationManager" erase-credentials="true">
<security:authentication-provider ref="0" />
<security:authentication-provider ref="1" />
<security:authentication-provider ref="2" />
<security:authentication-provider ref="3" />
</security:authentication-manager>
</beans>
Es ist die Frage <beans>
Elemente berücksichtigen analysiert werden: dass PROF1 und prof2 Profile aktiviert werden.
Es sieht aus wie es immer wählen Sie diese <beans profile="prof1" >
, aber nicht sicher, warum es nicht eine andere <beans profile="!prof1" >
wählt. Kann ich weiterleiten, dass es immer <beans>
ohne Ausrufezeichen wählt?
Danke Michael zur Klarstellung! – fashuser