org.hibernate.secure

Class JACCPreDeleteEventListener

Implemented Interfaces:
Initializable, JACCSecurityListener, PreDeleteEventListener, Serializable

public class JACCPreDeleteEventListener
extends java.lang.Object
implements PreDeleteEventListener, Initializable, JACCSecurityListener

Check security before any deletion
Author:
Kabir Khan

Method Summary

void
initialize(Configuration cfg)
boolean
onPreDelete(PreDeleteEvent event)
Return true if the operation should be vetoed

Method Details

initialize

public void initialize(Configuration cfg)
Specified by:
initialize in interface Initializable

onPreDelete

public boolean onPreDelete(PreDeleteEvent event)
Return true if the operation should be vetoed
Specified by:
onPreDelete in interface PreDeleteEventListener