Migrate Elytron: equivalent of HttpServletRequest.login?

110 views
Skip to first unread message

Richard Kennard

unread,
Feb 6, 2022, 9:28:28 PM2/6/22
to WildFly
Hi there,

Thanks for all your great work on WildFly!

I am trying to implement a custom login in WildFly 20. In the past I have used HttpServletRequest.login to programmatically login to the JAAS subsystem. However when I try this on WildFly 20 I get:

java.lang.NoClassDefFoundError: java/security/acl/Group

I understand this class has been removed as of JDK 14. What is the correct alternative to calling HttpServletRequest.login now?

jvi...@gmail.com

unread,
Feb 18, 2022, 2:24:17 AM2/18/22
to WildFly
We are still successfully using  HttpServletRequest.login with wildfly 24+ and elytron subsystem.
Might be some custom code in your class which does the login or a custom login module ?
Reply all
Reply to author
Forward
0 new messages