1

I plan to implement a brute-force prevention service in the gateway that saves the IPs with failed attempts into Hazelcast. However, I cannot find how Hazelcast is configured.

I chose Hazelcast as the cache and read in the documentation that Hazelcast is the default cache for gateways for rate-limiting. However, I cannot find the RateLimitingFilter, CacheConfiguration, or a Hazelcast Management Center docker-compose file anywhere.

Should I configure it the same way as it is done in other microservices?

Here are my jhipster generation settings:

{
  "generator-jhipster": {
    "applicationType": "gateway",
    "authenticationType": "jwt",
    "baseName": "newFolder",
    "buildTool": "maven",
    **"cacheProvider": "hazelcast",**
    "clientFramework": "angular",
    "clientTestFrameworks": [],
    "clientTheme": "none",
    "creationTimestamp": 1717163178963,
    "databaseType": "sql",
    "devDatabaseType": "postgresql",
    "devServerPort": 4200,
    **"enableHibernateCache": true,**
    "enableSwaggerCodegen": false,
    "enableTranslation": false,
......
}
1
  • The same here! ..... Commented Sep 16, 2024 at 14:59

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.