Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

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

License

MIT, MIT licenses found

Licenses found

MIT
LICENSE
MIT
LICENSE_HEADER
NotificationsYou must be signed in to change notification settings

Waffle/waffle

Repository files navigation

Java CIDotNET CICoverity Scan StatusCoverage Status SonarCoverage Status CoverallsMaven centralreleasesMITProject StatsGithub All ReleasesQuality Gate Status

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 inthis slightly blurry video produced forTeamShatter.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. SeeGetting 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. SeeHowTo.
  • A Tomcat Negotiate (NTLM and Kerberos) Authenticator Valve, built for the Tomcat Web Container. SeeHowTo.
  • 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). SeeHowTo.
  • A Spring-Security Negotiate (NTLM and Kerberos) Filter. SeeHowTo.
  • A Spring-Security Windows Authentication Manager. SeeHowTo.
  • A JAAS Login Module, useful when extending a custom Java client that already implements JAAS to support Windows SSO. SeeHowTo.
  • A WildFly Security Domain implementation, offering support for local Windows and Active Directory users authentication when deploying web apps on WildFly servers. SeeHowTo.

Waffle was created and is sponsored byApplication Security Inc.. For a long story, read theProject History. Also, feel free to usethis 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.

How do I resolve JNANoClassDefFound errors?

WAFFLE uses the latest version of JNA, which may conflict with other dependencies your project (or its parent) includes. If you experience issues withNoClassDefFound errors for JNA artifacts, consider one or more of the following steps to resolve the conflict:

  • Listing WAFFLE earlier (or first) in your dependency list
  • Specifying the most recent version of JNA as a dependency
  • If you are using a parent (e.g., Spring Boot) that includes JNA as a dependency, override thejna.version property

Demos

WAFFLE packages serveral demos. When building from the source, you can usemvn cargo:run to bring any of the demos up. See further README documentation in each demo (and what doesn't quite work). Additionally demos are documented in various states in documentation. This area does need some user help so feel free to contribute.

Related and Similar Products

Contributing

License and Copyright

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

This project is licensed under theMIT License.

Project maintained byDaniel Doubrovkine &Jeremy Landis.


[8]ページ先頭

©2009-2025 Movatter.jp