Added @Name annotation to JMX-enabled operation.
This commit is contained in:
parent
90b5ea2c5e
commit
951d8c8472
|
@ -995,7 +995,7 @@ public class DoSFilter implements Filter
|
|||
* @see #addWhitelistAddress(List, String)
|
||||
*/
|
||||
@ManagedOperation("removes an IP address that will not be rate limited")
|
||||
public boolean removeWhitelistAddress(String address)
|
||||
public boolean removeWhitelistAddress(@Name("address") String address)
|
||||
{
|
||||
return _whitelist.remove(address);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue