简体   繁体   English

Apache shiro + kerberos身份验证

[英]Apache shiro + kerberos authentication

I am working on a web application which is rest client and uses rest services(APIs) to perform any action. 我正在开发一个Web应用程序,它是rest客户端并使用rest服务(API)来执行任何操作。 I have integrated apache shiro to perform authentication using jdbc realm which is working fine. 我已经集成了apache shiro来使用jdbc realm执行身份验证,它正常工作。

Now I am looking for a solution to perform authentication using apacheDS LDAP. 现在我正在寻找使用apacheDS LDAP执行身份验证的解决方案。 I am planning to use kerberos authentication, but I got no luck to find any useful article or example to implement kerberos authentication using apache shiro. 我打算使用kerberos身份验证,但我没有运气找到任何有用的文章或示例来使用apache shiro实现kerberos身份验证。

I found apache shiro's official web site having support of kerberos. 我找到了apache shiro的官方网站,支持kerberos。

https://shiro.apache.org/authorization-features.html https://shiro.apache.org/authorization-features.html

But I found no realm which can directly be used or provide me enough information to implement custom realm for kerberos authentication. 但我发现没有可以直接使用的领域或者为我提供足够的信息来实现kerberos身份验证的自定义领域。

Please provide me a way to implement this or if not possible with kerberos then any other solutions for SSO(Single Sign On) which is capable enough to provide security implementation for my web application. 请为我提供一种方法来实现这一点,或者如果不可能使用kerberos,那么任何其他SSO(单点登录)解决方案都足以为我的Web应用程序提供安全实现。

Thanks in advance. 提前致谢。

As you can see from comments elsewhere , and the associated change to the Shiro documentation you linked, there is as yet no official Shiro Kerberos realm. 正如您在其他地方的评论中所看到的,以及您链接的Shiro文档的相关更改,目前还没有官方的Shiro Kerberos领域。 I, too, have been searching for ideas on this topic, and I recently came across Apache Aurora's version , which seems like a good starting point. 我也一直在寻找关于这个主题的想法,我最近遇到了Apache Aurora的版本 ,这似乎是一个很好的起点。

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

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