Class LocalhostOnly
- java.lang.Object
-
- org.apache.tapestry5.internal.services.security.LocalhostOnly
-
- All Implemented Interfaces:
WhitelistAnalyzer
public class LocalhostOnly extends Object implements WhitelistAnalyzer
Standard analyzer that places requests from the "localhost", "127.0.0.1", "0:0:0:0:0:0:0:1%0", or :"0:0:0:0:0:0:0:1" onto the white list.- Since:
- 5.3
-
-
Constructor Summary
Constructors Constructor Description LocalhostOnly()
-
-
-
Constructor Detail
-
LocalhostOnly
public LocalhostOnly()
-
-
Method Detail
-
isRequestOnWhitelist
public boolean isRequestOnWhitelist(Request request)
- Specified by:
isRequestOnWhitelist
in interfaceWhitelistAnalyzer
-
-