public class WebSecurityExpressionRoot
extends org.springframework.security.access.expression.SecurityExpressionRoot
| Modifier and Type | Field and Description |
|---|---|
javax.servlet.http.HttpServletRequest |
request
Allows direct access to the request object
|
| Constructor and Description |
|---|
WebSecurityExpressionRoot(org.springframework.security.core.Authentication a,
FilterInvocation fi) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasIpAddress(String ipAddress)
Takes a specific IP address or a range using the IP/Netmask (e.g.
|
denyAll, getAuthentication, getPrincipal, hasAnyAuthority, hasAnyRole, hasAuthority, hasPermission, hasPermission, hasRole, isAnonymous, isAuthenticated, isFullyAuthenticated, isRememberMe, permitAll, setPermissionEvaluator, setRoleHierarchy, setTrustResolverpublic final javax.servlet.http.HttpServletRequest request
public WebSecurityExpressionRoot(org.springframework.security.core.Authentication a,
FilterInvocation fi)
public boolean hasIpAddress(String ipAddress)
ipAddress - the address or range of addresses from which the request must come.