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

org.summerb.approaches.jdbccrud.impl.EasyCrudPerRowAuthStrategyNoOpImpl Maven / Gradle / Ivy

There is a newer version: 4.1.1
Show newest version
package org.summerb.approaches.jdbccrud.impl;

import org.summerb.approaches.jdbccrud.api.EasyCrudPerRowAuthStrategy;
import org.summerb.approaches.security.api.exceptions.NotAuthorizedException;

/**
 * @deprecated Use for testing purposes only
 * @author sergeyk
 *
 */
@Deprecated
public class EasyCrudPerRowAuthStrategyNoOpImpl implements EasyCrudPerRowAuthStrategy {

	@Override
	public void assertAuthorizedToCreate(TDto dto) throws NotAuthorizedException {
	}

	@Override
	public void assertAuthorizedToUpdate(TDto existingVersion, TDto newVersion) throws NotAuthorizedException {
	}

	@Override
	public void assertAuthorizedToRead(TDto dto) throws NotAuthorizedException {
	}

	@Override
	public void assertAuthorizedToDelete(TDto dto) throws NotAuthorizedException {
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy