This content has been marked as final.
Show 5 replies
-
1. Re: WildFly 13 security configuration
mchoma Jun 4, 2018 10:26 AM (in response to yhrush)Did you touch server configuration somehow. I mean standalone.xml?I suppose not.
Can you create issue report for your problem? Can you attach working web.xml and Servlet code? Anything suspicious in log?
-
2. Re: WildFly 13 security configuration
kret11 Jun 7, 2018 2:14 AM (in response to mchoma)I have the same problem. In standalone.xml I just changed datasources.
In logs, I can see that soteria starts without problems:
08:05:54,081 INFO [org.glassfish.soteria.servlet.SamRegistrationInstaller] (ServerService Thread Pool -- 73) Initializing Soteria 1.0 for context '/'
Using injected SecurityContext causes NPE.
-
3. Re: WildFly 13 security configuration
kret11 Jun 7, 2018 3:12 AM (in response to yhrush)1 of 1 people found this helpfulOk, I found resolution. Not sure if it is recommended, but I had to set <security-domain>jaspitest</security-domain> in my application.
-
4. Re: WildFly 13 security configuration
mchoma Jun 11, 2018 1:57 AM (in response to kret11)1 of 1 people found this helpfulYes that is necessary
-
5. Re: WildFly 13 security configuration
yhrush Jun 11, 2018 3:48 PM (in response to kret11)You are right, with <security-domain> it works. Thanks.