[
https://issues.jboss.org/browse/WFLY-9454?page=com.atlassian.jira.plugin....
]
Martin Kouba commented on WFLY-9454:
------------------------------------
For the record - {{javax.security.enterprise.SecurityContext}} comes from [Java EE
Security API|https://javaee.github.io/security-api/] which is part of Java EE 8. CDI spec
does not define such a built-in bean so it's up to the Security API implementation to
provide some.
SecurityContext not injected
----------------------------
Key: WFLY-9454
URL:
https://issues.jboss.org/browse/WFLY-9454
Project: WildFly
Issue Type: Bug
Components: CDI / Weld, Security
Affects Versions: 11.0.0.CR1
Reporter: Mike Kachalov
11:49:28,341 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-4) MSC000001:
Failed to start service jboss.deployment.unit."foo-1.0.ear".WeldStartService:
org.jboss.msc.service.StartException in service
jboss.deployment.unit."foo-1.0.ear".WeldStartService: Failed to start service
at
org.jboss.msc.service.ServiceControllerImpl$StartTask.run(ServiceControllerImpl.java:1978)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.jboss.weld.exceptions.DeploymentException: WELD-001408: Unsatisfied
dependencies for type SecurityContext with qualifiers @Default
at injection point [BackedAnnotatedField] @Inject private
com.foo.bar.facade.impl.UserRegisterFacadeImpl.securityContext
it's copy issue WELD-2437
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)