diff --git a/wls-common/security/src/main/java/de/muenchen/oss/wahllokalsystem/wls/common/security/BezirkIDPermissionEvaluatorImpl.java b/wls-common/security/src/main/java/de/muenchen/oss/wahllokalsystem/wls/common/security/BezirkIDPermissionEvaluatorImpl.java index 5280b0026..b1fc16b90 100644 --- a/wls-common/security/src/main/java/de/muenchen/oss/wahllokalsystem/wls/common/security/BezirkIDPermissionEvaluatorImpl.java +++ b/wls-common/security/src/main/java/de/muenchen/oss/wahllokalsystem/wls/common/security/BezirkIDPermissionEvaluatorImpl.java @@ -8,7 +8,7 @@ import org.springframework.security.core.Authentication; import org.springframework.stereotype.Component; -@Component(value = "bezirkIdPermisionEvaluator") +@Component(value = "bezirkIdPermissionEvaluator") @Profile("!" + Profiles.NO_BEZIRKS_ID_CHECK) public class BezirkIDPermissionEvaluatorImpl implements BezirkIDPermissionEvaluator { diff --git a/wls-common/security/src/main/java/de/muenchen/oss/wahllokalsystem/wls/common/security/DummyBezirkIdPermissionEvaluatorImpl.java b/wls-common/security/src/main/java/de/muenchen/oss/wahllokalsystem/wls/common/security/DummyBezirkIdPermissionEvaluatorImpl.java index 3c93c2f63..b6dc8c1bd 100644 --- a/wls-common/security/src/main/java/de/muenchen/oss/wahllokalsystem/wls/common/security/DummyBezirkIdPermissionEvaluatorImpl.java +++ b/wls-common/security/src/main/java/de/muenchen/oss/wahllokalsystem/wls/common/security/DummyBezirkIdPermissionEvaluatorImpl.java @@ -6,7 +6,7 @@ import org.springframework.security.core.Authentication; import org.springframework.stereotype.Component; -@Component(value = "bezirkIdPermisionEvaluator") +@Component(value = "bezirkIdPermissionEvaluator") @Profile(Profiles.NO_BEZIRKS_ID_CHECK) public class DummyBezirkIdPermissionEvaluatorImpl implements BezirkIDPermissionEvaluator {