更新时间:2023-12-04 23:38:34
当我的自定义主体正常工作时,我无法获得 LoginModule
.我创建了一个 Tomcat valve
加密并将密码推送到 HttpSession代码>
.其他 servlet 将检索和解密密码.
I couldn't get the LoginModule
with my custom principal working. I created a Tomcat valve
that encrypts and pushes the password to the HttpSession
. Other servlets will retrieve and decrypt the password.