Git Product home page Git Product logo

fac's Introduction

Bremersee Failed Access Counter

This project contains a small protection against brute-force-attacks.

A failed access counter stores failed access entries of a resource for a remote host, that wants to access the resource. The resource may be, for example, the login page. When the login has failed, this may be stored in the failed access counter. When the counter of the failed access entry has reached a threshold the login can be blocked for a while.

The failed access counter needs a DAO (interface FailedAccessDao) to persist the failed access entries. Currently there are four DAO implementations available:

  • FailedAccessInMemoryDao: Persists the entries in memory.
  • FailedAccessJpaDao: Persists the entries in a SQL database.
  • FailedAccessLdapDao: Persists the entries in a LDAP server.
  • FailedAccessMongoDao: Persists the entries in a MongoDB.

The generated maven site is committed to the gh-pages branch and visible here. There you can find more information.

Release 1.1.3

Release 1.1.3 is available at Maven Central.

It consists of four modules:

API module
<dependency>
    <groupId>org.bremersee</groupId>
    <artifactId>bremersee-fac-api</artifactId>
    <version>1.1.3</version>
</dependency>
JPA module
<dependency>
    <groupId>org.bremersee</groupId>
    <artifactId>bremersee-fac-data-jpa</artifactId>
    <version>1.1.3</version>
</dependency>
LDAP module
<dependency>
    <groupId>org.bremersee</groupId>
    <artifactId>bremersee-fac-data-ldap</artifactId>
    <version>1.1.3</version>
</dependency>
MongoDB module
<dependency>
    <groupId>org.bremersee</groupId>
    <artifactId>bremersee-fac-data-mongodb</artifactId>
    <version>1.1.3</version>
</dependency>

Bremersee Failed Access Counter Example

This project contains for each DAO a small Spring Boot Application that demonstrates the usage and configuration of the Failed Access Counter library.

It's not available at Maven Central. You may check it out and build the application with

$ cd fac/bremersee-fac-example
$ mvn clean install

Than go to one of the modules and run the application (all examples use an in-memory storage):

$ cd bremersee-fac-example-ldap
$ mvn spring-boot:run

After the application is started you can open http://localhost:8080/entries.html in your favorite browser and have a look at the demonstration.

fac's People

Contributors

bremersee avatar

Stargazers

Adriano Machado avatar

Watchers

James Cloos avatar  avatar

fac's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.