fr.cnes.sitools.security.filter
Class IPBlackListFilter

java.lang.Object
  extended by org.restlet.Restlet
      extended by org.restlet.routing.Filter
          extended by fr.cnes.sitools.security.filter.SecurityFilter
              extended by fr.cnes.sitools.security.filter.IPBlackListFilter
All Implemented Interfaces:
org.restlet.Uniform

public class IPBlackListFilter
extends SecurityFilter

Filter to abort request of black listed client IP sitools.properties contains a Security.IPBlackList String of IP addresses separated with |

Author:
jp.boignard (AKKA Technologies)

Field Summary
 
Fields inherited from class org.restlet.routing.Filter
CONTINUE, SKIP, STOP
 
Constructor Summary
IPBlackListFilter(org.restlet.Context context)
          Constructor
 
Method Summary
 StringContainer getIpContainer()
          Getter of ipContainer
 void setIpContainer(StringContainer ipContainer)
          Setter of ipContainer
 
Methods inherited from class fr.cnes.sitools.security.filter.SecurityFilter
getApplication, getSettings, isExtranet, isIntranet, setApplication, setSettings
 
Methods inherited from class org.restlet.routing.Filter
getNext, handle, hasNext, setNext, setNext, start, stop
 
Methods inherited from class org.restlet.Restlet
getAuthor, getContext, getDescription, getLogger, getName, getOwner, isStarted, isStopped, setAuthor, setContext, setDescription, setName, setOwner
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IPBlackListFilter

public IPBlackListFilter(org.restlet.Context context)
Constructor

Parameters:
context - Context
Method Detail

getIpContainer

public StringContainer getIpContainer()
Getter of ipContainer

Returns:
StringContainer

setIpContainer

public void setIpContainer(StringContainer ipContainer)
Setter of ipContainer

Parameters:
ipContainer - StringContainer


Copyright © 2010-2013 CNES. All Rights Reserved.