Class LocalhostOnly
- java.lang.Object
-
- org.apache.tapestry5.internal.services.security.LocalhostOnly
-
- All Implemented Interfaces:
WhitelistAnalyzer
public class LocalhostOnly extends java.lang.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()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isRequestOnWhitelist(Request request)
-
-
-
Constructor Detail
-
LocalhostOnly
public LocalhostOnly()
-
-
Method Detail
-
isRequestOnWhitelist
public boolean isRequestOnWhitelist(Request request)
- Specified by:
isRequestOnWhitelist
in interfaceWhitelistAnalyzer
-
-