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

com.terapico.uccaf.AccessControledService Maven / Gradle / Ivy

package com.terapico.uccaf;

public interface AccessControledService {
	public Object checkAccess(BaseUserContext userContext,String methodName, Object[] parameters) throws Exception;
	//public Object accessUserApp(BaseUserContext userContext,String targetUserAppId) throws Exception;
	public Object prepareContextForUserApp(BaseUserContext userContext,Object targetUserApp) throws Exception;
	
	public void enforceAccess(BaseUserContext userContext, Object targetObject) throws Exception;

	default public void onAccess(BaseUserContext baseUserContext, String methodName, Object[] parameters) {}
	default public void afterInvoke(BaseUserContext baseUserContext, String methodName, Object[] parameters, boolean success, Object result, Throwable throwable) {}

}







© 2015 - 2025 Weber Informatics LLC | Privacy Policy