Class SecurityEntityInterceptorContribution
java.lang.Object
ch.tocco.nice2.persist.security.impl.hibernate.SecurityEntityInterceptorContribution
- All Implemented Interfaces:
EntityInterceptorContribution
@Component
public class SecurityEntityInterceptorContribution
extends Object
implements EntityInterceptorContribution
EntityInterceptorContribution that checks permissions for Entity.getValue(String),
Entity.setValue(String, Object) and Entity.delete()-
Constructor Summary
ConstructorsConstructorDescriptionSecurityEntityInterceptorContribution(SecurityManager securityManager, DataModel dataModel) -
Method Summary
-
Constructor Details
-
SecurityEntityInterceptorContribution
-
-
Method Details
-
createInstance
- Specified by:
createInstancein interfaceEntityInterceptorContribution- Parameters:
entity- the entitynext- the next interceptor in the chain- Returns:
- the contributed interceptor
-