| |
|
| java.lang.Object org.quickserver.util.xmlreader.IpFilterConfig
IpFilterConfig | public class IpFilterConfig implements java.io.Serializable(Code) | | This class encapsulate the IP based Filter config.
The xml is <ip-filter>...</ip-filter>
Note: Make sure that access from 127.0.0.1 is allowed at
all times, else some of the QsAdmin command will fail.
author: Akshathkumar Shetty since: 1.3.3 |
IpFilterConfig | public IpFilterConfig()(Code) | | |
addClientIpAddress | public void addClientIpAddress(String clientIpAddress)(Code) | | Adds a Client Ip Address to the list
|
getIpCollection | public ArrayList getIpCollection()(Code) | | Returns ClientIpAddress collection
|
setAllowAccess | public void setAllowAccess(boolean enable)(Code) | | Sets the allow access flag.
XML Tag: <ip-filter><allow-access>true</allow-access></ip-filter>
Allowed values = true | false
See Also: IpFilterConfig.getAllowAccess |
setEnable | public void setEnable(boolean enable)(Code) | | Sets the IP filter enable flag.
XML Tag: <ip-filter><enable>true</enable></ip-filter>
Allowed values = true | false
See Also: IpFilterConfig.getEnable |
|
|
|