且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

JBoss JAAS 自定义登录模块

更新时间: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.