|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.security.web.util.IpAddressMatcher
public class IpAddressMatcher
Matches a request based on IP Address or subnet mask matching against the remote address.
Constructor Summary | |
---|---|
IpAddressMatcher(java.lang.String ipAddress)
Takes a specific IP address or a range specified using the IP/Netmask (e.g. |
Method Summary | |
---|---|
boolean |
matches(javax.servlet.http.HttpServletRequest request)
Decides whether the rule implemented by the strategy matches the supplied request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IpAddressMatcher(java.lang.String ipAddress)
ipAddress
- the address or range of addresses from which the request must come.Method Detail |
---|
public boolean matches(javax.servlet.http.HttpServletRequest request)
RequestMatcher
matches
in interface RequestMatcher
request
- the request to check for a match
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |