org.summerb.approaches.jdbccrud.impl.EasyCrudPerRowAuthStrategyNoOpImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of summerb Show documentation
Show all versions of summerb Show documentation
summerb - is a set of building blocks for real-world java-based web apps
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