waffle

Enable drop-in Windows Single Sign On for popular Java web servers.

Github星跟踪图

WAFFLE - Windows Authentication Framework

Build Status
Build status
Coverity Scan Build Status
Coverage Status
Maven central
releases
Eclipse
Project Stats
Github All Releases

waffle

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.

Sites

Essentials

Documentation

There're several semi-independent parts to Waffle. Choose the appropriate HowTo.

  • Simple native interfaces in C# and Java to do all things Windows authentication. Useful if you're building a custom client that requires Windows authentication. See Getting Started with WAFFLE API
  • A generic Servlet Negotiate (NTLM and Kerberos) Security Filter that can be used with many web servers, including Tomcat, Jetty and WebSphere. See HowTo.
  • A Tomcat Negotiate (NTLM and Kerberos) Authenticator Valve, built for the Tomcat Web Container. See HowTo.
  • A Tomcat Single Sign-On + Form Authentication Mixed Valve, built for the Tomcat Web Container and allowing users to choose whether to do form authentication (a username and password sent to the server from a form) or Windows SSO (NTLM or Kerberos). See HowTo.
  • A Spring-Security Negotiate (NTLM and Kerberos) Filter. See HowTo.
  • A Spring-Security Windows Authentication Manager. See HowTo.
  • A JAAS Login Module, useful when extending a custom Java client that already implements JAAS to support Windows SSO. See HowTo.
  • A WildFly Security Domain implementation, offering support for local Windows and Active Directory users authentication when deploying web apps on WildFly servers. See HowTo.

Waffle was created and is sponsored by Application Security Inc.. For a long story, read the Project History. Also, feel free to use this PowerPoint presentation from NYJavaSIG to talk about Waffle.

Features

  • Account lookup locally and in Active Directory via Win32 API with zero configuration.
  • Enumerating Active Directory domains and domain information.
  • Returns computer domain / workgroup join information.
  • Supports logon for local and domain users returning consistent fully qualified names, identity (SIDs), local and domain groups, including nested.
  • Supports all functions required for implementing server-side single-signon with Negotiate and NTLM and various implementations for Java web servers.
  • Supports Windows Identity impersonation.
  • Includes a Windows Installer Merge Module for distribution of C# binaries.

Contributing

Copyright (c) Application Security Inc., 2010-2017 and Contributors.

This project is licensed under the Eclipse Public License.

Project maintained by Daniel Doubrovkine & Jeremy Landis.

主要指标

概览
名称与所有者Waffle/waffle
主编程语言Java
编程语言Java (语言数: 5)
平台
许可证MIT License
所有者活动
创建于2012-04-05 23:18:03
推送于2025-05-15 20:54:38
最后一次提交2025-05-15 16:53:35
发布数67
最新版本名称waffle-3.5.1 (发布于 2025-01-01 00:01:12)
第一版名称waffle-pom-1.6 (发布于 2014-01-02 10:59:50)
用户参与
星数482
关注者数24
派生数186
提交数6.7k
已启用问题?
问题数245
打开的问题数58
拉请求数2295
打开的拉请求数1
关闭的拉请求数294
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?