Hi Greg,
Thanks so much for getting back to me.
We are currently using EE10, but we are open to using EE8/9 if that would fix the problem.
This is going to a webapp.
Our login module is implemented as a subclass of AbstractLoginModule, with a corresponding subclass of JAASUser.
To enable it, we include the following in jetty-web.xml:
<Set name="securityHandler">
<New class="org.eclipse.jetty.ee10.servlet.security.ConstraintSecurityHandler">
<Set name="loginService">
<New class="org.eclipse.jetty.security.jaas.JAASLoginService">
<Set name="name"><name></Set>
<Set name="loginModuleName"><name></Set>
</New>
</Set>
</New>
</Set>
Please let me know if I can provide any more information!
Additionally, after upgrading from Jetty 12.0.14 to 12.0.15 I have found that we are getting an error on startup due to jetty-web.xml:
org.eclipse.jetty.xml.XmlConfigurationException: Bad Jetty XML configuration in file:<path>/jetty-web.xml
...
Caused by:
java.lang.NullPointerException: Cannot invoke "java.util.Map.containsKey(Object)" because "this.fTableOfIDAttributeNames" is null
This was not previously happening, and we did not change jetty-web.xml at all during the upgrade. The file jetty-web.xml is small, and just sets the securityHandler and an errorHandler. Do you know what could be causing us to read it as an improper configuration?
Thanks for your help,
Shan Parikh