/************************************************************************* * * * EJBCA: The OpenSource Certificate Authority * * * * This software is free software; you can redistribute it and/or * * modify it under the terms of the GNU Lesser General Public * * License as published by the Free Software Foundation; either * * version 2.1 of the License, or any later version. * * * * See terms of license at gnu.org. * * * *************************************************************************/ package org.ejbca.util.validator; import javax.faces.component.UIComponent; import javax.faces.context.FacesContext; import javax.faces.validator.Validator; import javax.faces.validator.ValidatorException; /** * Dummy validator used as a placeholder in cases where we require no validation but must specify a validator. * * @version $Id: DummyValidator.java 24967 2017-01-03 09:18:28Z mikekushner $ * */ public class DummyValidator implements Validator { @Override public void validate(FacesContext context, UIComponent component, Object object) throws ValidatorException { //Do absolutely nothing. } }