Legacy application with JDBC and JNDI REALM authentication

前端 未结 1 892
逝去的感伤
逝去的感伤 2021-01-17 00:13

My application currently relies on JDBC realm authentication. Recent needs have forced us to think about having LDAP authentication as well. We are thinking about using Acti

1条回答
  •  耶瑟儿~
    2021-01-17 00:25

    If you can run your app on Tomcat 6, there is a realm called CombinedRealm that will let you do what you are trying to do: http://tomcat.apache.org/tomcat-6.0-doc/realm-howto.html#CombinedRealm. It is possible to do what you want in older versions but it's a real pain. You basically will have to implement your own custom Realm. I've not yet used this new CombinedRealm, but if it works as advertised it will save you a lot of effort and pain. Trust me.

    0 讨论(0)
提交回复
热议问题