All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.owasp.esapi.waf.actions.BlockAction Maven / Gradle / Ivy

/**
 * OWASP Enterprise Security API (ESAPI)
 * 
 * This file is part of the Open Web Application Security Project (OWASP)
 * Enterprise Security API (ESAPI) project. For details, please see
 * http://www.owasp.org/index.php/ESAPI.
 *
 * Copyright (c) 2009 - The OWASP Foundation
 * 
 * The ESAPI is published by OWASP under the BSD license. You should read and accept the
 * LICENSE before you use, modify, and/or redistribute this software.
 * 
 * @author Arshan Dabirsiaghi Aspect Security
 * @created 2009
 */
package org.owasp.esapi.waf.actions;

/**
 * The class that indicates the request processing should be halted and that a blank response
 * should be returned.
 * 
 * @author Arshan Dabirsiaghi
 */
public class BlockAction extends Action {

	public boolean failedRule() {
		return true;
	}


	public boolean isActionNecessary() {
		return true;
	}

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy