public class WebSecurityExpressionRoot extends SecurityExpressionRoot
| Modifier and Type | Field and Description |
|---|---|
javax.servlet.http.HttpServletRequest |
request
Allows direct access to the request object
|
admin, authentication, create, delete, denyAll, permitAll, read, write| Constructor and Description |
|---|
WebSecurityExpressionRoot(Authentication a,
FilterInvocation fi) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
hasIpAddress(java.lang.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, setDefaultRolePrefix, setPermissionEvaluator, setRoleHierarchy, setTrustResolverpublic final javax.servlet.http.HttpServletRequest request
public WebSecurityExpressionRoot(Authentication a, FilterInvocation fi)
public boolean hasIpAddress(java.lang.String ipAddress)
ipAddress - the address or range of addresses from which the request must
come.