replacement of Pac4JHttpServletRequestWrapper

15 views
Skip to first unread message

Stéphane Gauchet

unread,
Dec 6, 2024, 5:07:36 AM12/6/24
to Pac4j development mailing list
Hi!

in pac4j 6.x, i want to use the securityLogic.perform(...)
mentionned the Pac4JHttpServletRequestWrapper class that do not exist any more.

what do i need use instead ?

config.getSecurityLogic().perform(config, (ctx, session, profiles) -> {

filterChain.doFilter(profiles.isEmpty() ? request : new Pac4JHttpServletRequestWrapper(request, profiles), response);

return null;

}, clients, null, null, new JEEFrameworkParameters(request, response));

thanks !

Jérôme LELEU

unread,
Dec 6, 2024, 8:21:37 AM12/6/24
to Stéphane Gauchet, Pac4j development mailing list
Hi,

This class: Pac4JHttpServletRequestWrapper is in the javaee-pac4j or jakartaee-pac4j project.
Thanks.
Best regards,
Jérôme


--
You received this message because you are subscribed to the Google Groups "Pac4j development mailing list" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pac4j-dev+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/pac4j-dev/46cf8c54-fc66-40c3-802b-096d894cc827n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages