Search code examples
javaauthenticationkerberosshiro

Apache shiro + kerberos authentication


I am working on a web application which is rest client and uses rest services(APIs) to perform any action. I have integrated apache shiro to perform authentication using jdbc realm which is working fine.

Now I am looking for a solution to perform authentication using 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.

I found apache shiro's official web site having support of kerberos.

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.

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.

Thanks in advance.


Solution

  • 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. 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.