JMX Documentation
 
Mbeans (English)
 
  FtpServer
  BanService
Mbeans (French)
 
  FtpServer
 
  Built with Apache Forrest logo Financial help logo
 
Designed for Firefox logo Java.net member logo
 


PDF 

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

bangetBannedIpsgetBlackListedIpsisBannedIPregistredServersunBanunBanOnReason

Operations declaration

registredServers

DescriptionReturn the available servers codes registred in this service

Return type

ImpactINFO

getBannedIps

DescriptionList all the banned ip on a given server

Return typenet.sbbi.jafs.logs.BanLogEntry[]

ImpactINFO

Parameters
serverCodetype: java.lang.StringThe server to list

getBlackListedIps

DescriptionList all the blacklist ip on a given server

Return typenet.sbbi.jafs.ipblocklists.BannedIPRangeEntry[]

ImpactINFO

Parameters
serverCodetype: java.lang.StringThe server to list

ban

DescriptionBan an IP address for on a given server

Return type

ImpactACTION

Parameters
serverCodetype: java.lang.StringThe server code where this ip will be banned
ipAddresstype: java.lang.StringThe IP address to ban
reasontype: java.lang.StringThe reason for which the client is banned

unBanOnReason

DescriptionUnban IP addresses banned for a given reason, return the number of unbanned IP

Return typejava.lang.Integer

ImpactACTION

Parameters
serverCodetype: java.lang.StringThe server code where this ip will be unbanned
reasontype: java.lang.StringThe reason to unban the IP

unBan

DescriptionUnban an IP address for on a given server

Return type

ImpactACTION

Parameters
serverCodetype: java.lang.StringThe server code where this ip will be unbanned
ipAddresstype: java.lang.StringThe IP address to unban

isBannedIP

DescriptionTells if the given IP is banned on a server

Return type

ImpactACTION

Parameters
serverCodetype: java.lang.StringThe server code where this ip should be banned
ipAddresstype: java.lang.StringThe IP address


 

Copyright © 2005 SuperBonBon Industries. All rights reserved.
Unless otherwise expressly noted, the contents of these pages are licensed under the Creative Commons - Attribution / Share Alike license.