|
BanServiceMBean documentation
Bean Description > List of operations > Operations declaration
Bean Description
Description : Ban service
Type : net.sbbi.jafs.services.BanService
Domain : services
List of operations
ban, getBannedIps, getBlackListedIps, isBannedIP, registredServers, unBan, unBanOnReason
| registredServers | |
|
|
|
| Description | Return the available servers codes registred in this service |
|
|
|
| Return type | |
|
|
|
| Impact | INFO |
| getBannedIps | ||||
|
|
||||
| Description | List all the banned ip on a given server | |||
|
|
||||
| Return type | net.sbbi.jafs.logs.BanLogEntry[] | |||
|
|
||||
| Impact | INFO | |||
|
|
||||
| Parameters |
|
|||
| getBlackListedIps | ||||
|
|
||||
| Description | List all the blacklist ip on a given server | |||
|
|
||||
| Return type | net.sbbi.jafs.ipblocklists.BannedIPRangeEntry[] | |||
|
|
||||
| Impact | INFO | |||
|
|
||||
| Parameters |
|
|||
| ban | ||||||||||
|
|
||||||||||
| Description | Ban an IP address for on a given server | |||||||||
|
|
||||||||||
| Return type | ||||||||||
|
|
||||||||||
| Impact | ACTION | |||||||||
|
|
||||||||||
| Parameters |
|
|||||||||
| unBanOnReason | |||||||
|
|
|||||||
| Description | Unban IP addresses banned for a given reason, return the number of unbanned IP | ||||||
|
|
|||||||
| Return type | java.lang.Integer | ||||||
|
|
|||||||
| Impact | ACTION | ||||||
|
|
|||||||
| Parameters |
|
||||||
| unBan | |||||||
|
|
|||||||
| Description | Unban an IP address for on a given server | ||||||
|
|
|||||||
| Return type | |||||||
|
|
|||||||
| Impact | ACTION | ||||||
|
|
|||||||
| Parameters |
|
||||||
| isBannedIP | |||||||
|
|
|||||||
| Description | Tells if the given IP is banned on a server | ||||||
|
|
|||||||
| Return type | |||||||
|
|
|||||||
| Impact | ACTION | ||||||
|
|
|||||||
| Parameters |
|
||||||








