Class WildcardWhitelistEntry
java.lang.Object
org.apache.sling.discovery.base.connectors.ping.wl.WildcardWhitelistEntry
- All Implemented Interfaces:
WhitelistEntry
Implementation of a WhitelistEntry which can accept
wildcards (* and ?) in both IP and hostname
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
WildcardWhitelistEntry
-
-
Method Details
-
accepts
public boolean accepts(javax.servlet.ServletRequest request) - Specified by:
accepts
in interfaceWhitelistEntry
- Parameters:
request
- the incoming request which should be accepted or rejected- Returns:
- true if the request is accepted by this WhitelistEntry
-