-
Notifications
You must be signed in to change notification settings - Fork 351
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue 4208 - Fails to inject SecurityContext into Helloworld-CDI2-SE …
…example (#4236) * #4208: inject SecurityContext into HelloWorldResource & Implemented getBeanClass in SupplierBeanBridge. The method JersetBean.getBeanClass is used to compute the bean identifier. The default id for a JerseyBean<T> is "java.lang.Object#jersey", causing collisions of bridge instances. In particular, for HelloWorldResourceTest, Weld's MapBeanStore returned a SupplierInstanceBeanBridge instead of the expected SupplierBeanBridge, because both shared the same bean identifier. Signed-off-by: pappy <[email protected]>
- Loading branch information
Showing
2 changed files
with
29 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters