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

org.seedstack.seed.security.spi.data.DataObfuscationHandler Maven / Gradle / Ivy

/**
 * Copyright (c) 2013-2016, The SeedStack authors 
 *
 * This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/.
 */
package org.seedstack.seed.security.spi.data;

/**
 * Interface to implement to obfuscate a data.
 *
 * @param  the type of data to obfuscate.
 * @author [email protected]
 * @author [email protected]
 */
public interface DataObfuscationHandler {

	/**
	 * this methods will contains the logic to obfuscate your data given as input.
	 * 

* For instance an obfuscation rule on name "Dupont" could be "D." *

* * @param data the actual input to obfuscate. * @return the data obfuscated. */ T obfuscate(T data); }





© 2015 - 2025 Weber Informatics LLC | Privacy Policy