Skip to content

Latest commit

 

History

History
33 lines (22 loc) · 644 Bytes

README.md

File metadata and controls

33 lines (22 loc) · 644 Bytes

dummy-jaas-loginmodule

A collection of super dumb Jaas login modules that welcomes all credentials of all shapes, sizes and colors.

Download

Releases are available here.

Build

./mvnw[.bat] clean package

Grab the jar from the target directory and put it into WEB-INF/lib of the application.

Config

  • Accepts any username/password as credentials
UserPassAuth {
    net.unicon.authn.jaas.SimpleLoginModule required;
};
  • Username must equal password
UserPassAuth {
    net.unicon.authn.jaas.NotAsSimpleLoginModule required;
};