| java.lang.Object | |
| ↳ | org.springframework.security.web.util.IpAddressMatcher |
Matches a request based on IP Address or subnet mask matching against the remote address.
Both IPv6 and IPv4 addresses are supported, but a matcher which is configured with an IPv4 address will never match a request which returns an IPv6 address, and vice-versa.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Takes a specific IP address or a range specified using the
IP/Netmask (e.g.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Decides whether the rule implemented by the strategy matches the supplied request.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.springframework.security.web.util.RequestMatcher
| |||||||||||
Takes a specific IP address or a range specified using the IP/Netmask (e.g. 192.168.1.0/24 or 202.24.0.0/14).
| ipAddress | the address or range of addresses from which the request must come. |
|---|
Decides whether the rule implemented by the strategy matches the supplied request.
| request | the request to check for a match |
|---|