Hello, I'm sorry, I don't see, how this patch belongs to my problem.
I changed my CDI configuration to use my own producer method for my realm and set this realm into a SecurityManager. But when I try to run subject.login(token); then the securityManager has no realm set. Looks like there are two different instances of SecurityManagers. One created by me and one created by the EnvironmentLoaderListener? Is it possible to add a realm lately to a SecurityManager? How can this be done. The SecurityManager interface has no such method. Can I cast it? Regards, Lars
