waffle-spring-boot-autoconfigure

Spring Boot Autoconfigure for WAFFLE

License

License

MIT
Categories

Categories

Spring Boot Container Microservices Auto Application Layer Libs Code Generators config Configuration
GroupId

GroupId

com.github.waffle
ArtifactId

ArtifactId

waffle-spring-boot-autoconfigure
Last Version

Last Version

3.0.0
Release Date

Release Date

Type

Type

jar
Description

Description

waffle-spring-boot-autoconfigure
Spring Boot Autoconfigure for WAFFLE
Project URL

Project URL

https://waffle.github.io/waffle/
Project Organization

Project Organization

com.github.waffle
Source Code Management

Source Code Management

https://github.com/Waffle/waffle

Download waffle-spring-boot-autoconfigure

How to add to project

<!-- https://jarcasting.com/artifacts/com.github.waffle/waffle-spring-boot-autoconfigure/ -->
<dependency>
    <groupId>com.github.waffle</groupId>
    <artifactId>waffle-spring-boot-autoconfigure</artifactId>
    <version>3.0.0</version>
</dependency>
// https://jarcasting.com/artifacts/com.github.waffle/waffle-spring-boot-autoconfigure/
implementation 'com.github.waffle:waffle-spring-boot-autoconfigure:3.0.0'
// https://jarcasting.com/artifacts/com.github.waffle/waffle-spring-boot-autoconfigure/
implementation ("com.github.waffle:waffle-spring-boot-autoconfigure:3.0.0")
'com.github.waffle:waffle-spring-boot-autoconfigure:jar:3.0.0'
<dependency org="com.github.waffle" name="waffle-spring-boot-autoconfigure" rev="3.0.0">
  <artifact name="waffle-spring-boot-autoconfigure" type="jar" />
</dependency>
@Grapes(
@Grab(group='com.github.waffle', module='waffle-spring-boot-autoconfigure', version='3.0.0')
)
libraryDependencies += "com.github.waffle" % "waffle-spring-boot-autoconfigure" % "3.0.0"
[com.github.waffle/waffle-spring-boot-autoconfigure "3.0.0"]

Dependencies

compile (6)

Group / Artifact Type Version
org.springframework.boot : spring-boot jar
org.springframework.boot : spring-boot-autoconfigure jar
org.springframework.boot : spring-boot-configuration-processor Optional jar
org.springframework.boot : spring-boot-starter-web Optional jar
org.springframework.boot : spring-boot-starter-security Optional jar
com.github.waffle : waffle-spring-security4 Optional jar 3.0.0

provided (3)

Group / Artifact Type Version
com.google.code.findbugs : jsr305 jar 3.0.2
com.google.errorprone : error_prone_annotations jar 2.4.0
com.google.j2objc : j2objc-annotations jar 1.3

test (8)

Group / Artifact Type Version
org.slf4j : slf4j-simple jar 1.7.30
org.assertj : assertj-core jar 3.18.1
com.github.hazendaz.jmockit : jmockit jar 1.49.1
org.junit.jupiter : junit-jupiter-engine jar 5.7.0
org.openjdk.jmh : jmh-core jar 1.27
org.openjdk.jmh : jmh-generator-annprocess jar 1.27
org.apache.commons : commons-math3 jar 3.6.1
net.sf.jopt-simple : jopt-simple jar 5.0.4

Project Modules

There are no modules declared in this project.

WAFFLE - Windows Authentication Framework

Java CI DotNET CI Coverity Scan Status Coverage Status Maven central releases MIT Project Stats Github All Releases Quality 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 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.

How do I resolve JNA NoClassDefFound errors?

WAFFLE uses the latest version of JNA, which may conflict with other dependencies your project (or its parent) includes. If you experience issues with NoClassDefFound 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 the jna.version property

Related and Similar Products

Contributing

License and Copyright

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

This project is licensed under the MIT License.

Project maintained by Daniel Doubrovkine & Jeremy Landis.

com.github.waffle

Waffle

Windows Authentication Framework

Versions

Version
3.0.0
2.3.0
2.2.1
2.1.1
2.1.0
2.0.0
2.0.0-beta2
2.0.0-beta1
1.9.1
1.9.0