[Apiman-user] How to limit access for IP Address

Eric Wittmann eric.wittmann at redhat.com
Wed Feb 1 08:26:43 EST 2017


Sounds good, thanks!  Here is the starting point for the Rate Limiting
policy implementation:

https://github.com/apiman/apiman/blob/master/gateway/engine/policies/src/main/java/io/apiman/gateway/engine/policies/RateLimitingPolicy.java

-Eric

On Tue, Jan 31, 2017 at 8:02 PM, Celso Agra <celso.agra at gmail.com> wrote:

> I'll take a look how to implement this feature as an enhacement of rate
> limiting policy. I believe this could be better than create a new plugin
>
> Thanks Eric!
>
> 2017-01-31 11:08 GMT-03:00 Eric Wittmann <eric.wittmann at redhat.com>:
>
>> Apologies for the delayed response.  Currently the rate limiting and
>> quota policies only operate on the authenticated User, the Client, or the
>> Api.  To support your use-case, you would either need to implement a custom
>> policy or enhance the current Rate Limiting policy.  I think the project
>> would benefit more from the latter approach, but that's of course up to
>> you!  :)
>>
>> -Eric
>>
>> On Thu, Jan 26, 2017 at 4:16 PM, Celso Agra <celso.agra at gmail.com> wrote:
>>
>>> All,
>>>
>>> I'd like to know if the Apiman has policies to restrict the number of
>>> access from specific IP Address. Such as Quota Policy or Rate Limiting
>>> Policy.
>>> Should I have to implement this Policy?
>>>
>>> Best Regards,
>>>
>>>
>>> --
>>> ---
>>> *Celso Agra*
>>>
>>> _______________________________________________
>>> Apiman-user mailing list
>>> Apiman-user at lists.jboss.org
>>> https://lists.jboss.org/mailman/listinfo/apiman-user
>>>
>>>
>>
>
>
> --
> ---
> *Celso Agra*
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/apiman-user/attachments/20170201/e882ea76/attachment.html 


More information about the Apiman-user mailing list