org.apache.tapestry5.internal.services.security
Class LocalhostOnly

java.lang.Object
  extended by 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
LocalhostOnly()
           
 
Method Summary
 boolean isRequestOnWhitelist(Request request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocalhostOnly

public LocalhostOnly()
Method Detail

isRequestOnWhitelist

public boolean isRequestOnWhitelist(Request request)
Specified by:
isRequestOnWhitelist in interface WhitelistAnalyzer


Copyright © 2003-2012 The Apache Software Foundation.