Waffle

来自ling
跳转至: 导航搜索

https://github.com/Waffle/waffle https://blog.csdn.net/qq_20741133/article/details/85683721


WAFFLE is a native Windows Authentication Framework consisting of two C# and Java libraries that perform functions related to Windows authentication, supporting Negotiate, NTLM and Kerberos. Waffle also includes libraries that enable drop-in Windows Single Sign On for popular Java web servers, when running on Windows. While Waffle makes it ridiculously easy to do Windows Authentication in Java, on Windows, *Waffle does not work on nix(UNIX-like).

Unlike many other implementations Waffle on Windows does not require any server-side Kerberos keytab setup, it’s a drop-in solution. You can see it in action in this slightly blurry video produced for TeamShatter.com.

以上是官网里的readme内容,注意标重的那两句。waffle是不能在linux下运行的,也就是说,除非你是windows服务器;而且,他是对于本地windows的认证,也就是说除非你的javaweb应用跟域在同一个服务器上,才会有域验证一说,举个例子:假设你的web应用在域下的一台windows子机上,那么你就只能输入子机的用户名和密码才能进入,输入任何其他账号都不会有效果!!!

综上,所以,如果你要搭建本地windows认证服务,可以考虑waffle,否则做了也是走弯路。