简体   繁体   English

共享的Tomcat验证?

[英]authentication in shared tomcat?

I am using godaddy for my java hosting using shared tomcat package. 我正在使用共享的tomcat软件包为我的Java托管使用godaddy。 Now as it it shared i cant go with jaas. 现在,它分享了我不能与贾斯去。 So how do other jsp websites authenticate and authorize users for their site if they can not implement jaas? 那么,如果其他jsp网站无法实现jaas,如何对用户进行身份验证和授权? Do they handle all the mechanism themselves or is their some other better mechanism? 他们是自己处理所有机制还是其他更好的机制?

Thanks in advance. 提前致谢。

You will need to handle security within your application. 您将需要在应用程序中处理安全性。 Spring Security and Apache Shiro are the logical choices; Spring Security和Apache Shiro是合乎逻辑的选择。 both can be simply mounted as filters in your web.xml and also have AOP support. 两者都可以简单地安装为web.xml中的过滤器,并且还具有AOP支持。 Spring Security in particular has reached a level of maturity where many people use it as an alternative to container security, even when there are no impediments like the one you have encountered. 尤其是在没有像您遇到的障碍之类的障碍的情况下,Spring Security已经达到了成熟的水平,许多人将其用作容器安全的替代品。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM