Class WebSecurityExpressionRoot

    • Field Detail

      • request

        public final javax.servlet.http.HttpServletRequest request
        Allows direct access to the request object
    • Method Detail

      • hasIpAddress

        public boolean hasIpAddress​(java.lang.String ipAddress)
        Takes a specific IP address or a range using the IP/Netmask (e.g. or
        ipAddress - the address or range of addresses from which the request must come.
        true if the IP address of the current request is in the required range.