| Modifier and Type | Field and Description |
|---|---|
| private final List | |
| private final List | |
| private static final Log | log
Our logger
|
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private List | |
| public String | Returns: the #allow list as a string, without the leading '[' and trailing ']'Overrides org. Return a string representation of the |
| public String | Returns: the #deny list as a string, without the leading '[' and trailing ']'Overrides org. Return a string representation of the |
| protected Log | |
| public void | invoke(final Request
The servlet request to be processed request, final Response The servlet response to be created response)Implements abstract org. Implements org. Extract the desired request property, and pass it (along with the specified request and response objects) to the
protected |
| public boolean | isAllowed(final String
The request property value on which to filter property)Overrides org. Perform the test implemented by this Valve, matching against the specified request property value. |
| public void | setAllow(final String
The list of netmasks, as a comma separated string input)Overrides org. Fill the #allow list with the list of netmasks provided as an argument, if any. |
| public void | setDeny(final String
The list of netmasks, as a comma separated string input)Overrides org. Fill the #deny list with the list of netmasks provided as an argument, if any. |
| allow | back to summary |
|---|---|
| private final List<NetMask> allow Hides org. The list of allowed | |
| deny | back to summary |
|---|---|
| private final List<NetMask> deny Hides org. The list of denied | |
| log | back to summary |
|---|---|
| private static final Log log Hides org. Our logger | |
| RemoteCIDRValve | back to summary |
|---|---|
| public RemoteCIDRValve() | |
| fillFromInput | back to summary |
|---|---|
| private List Fill a | |
| getAllow | back to summary |
|---|---|
| public String getAllow() Overrides org. Return a string representation of the | |
| getDeny | back to summary |
|---|---|
| public String getDeny() Overrides org. Return a string representation of the | |
| getLog | back to summary |
|---|---|
| protected Log getLog() Implements abstract org.
| |
| invoke | back to summary |
|---|---|
| public void invoke(final Request request, final Response response) throws IOException, ServletException Implements abstract org. Implements org. Doc from org. Extract the desired request property, and pass it (along with the specified request and response objects) to the
protected
| |
| isAllowed | back to summary |
|---|---|
| public boolean isAllowed(final String property) Overrides org. Doc from org. Perform the test implemented by this Valve, matching against the specified request property value. This method is public so that it can be called through JMX, e.g. to test whether certain IP address is allowed or denied by the valve configuration. | |
| setAllow | back to summary |
|---|---|
| public void setAllow(final String input) Overrides org. Fill the #allow list with the list of netmasks provided as an argument, if any. Calls #fillFromInput.
| |
| setDeny | back to summary |
|---|---|
| public void setDeny(final String input) Overrides org. Fill the #deny list with the list of netmasks provided as an argument, if any. Calls #fillFromInput.
| |