org.hibernate.secure
Class JACCPreDeleteEventListener

java.lang.Object
  extended by org.hibernate.secure.JACCPreDeleteEventListener
All Implemented Interfaces:
Serializable, Initializable, PreDeleteEventListener, JACCSecurityListener

public class JACCPreDeleteEventListener
extends Object
implements PreDeleteEventListener, Initializable, JACCSecurityListener

Check security before any deletion

Author:
Kabir Khan
See Also:
Serialized Form

Constructor Summary
JACCPreDeleteEventListener()
           
 
Method Summary
 void initialize(Configuration cfg)
           
 boolean onPreDelete(PreDeleteEvent event)
          Return true if the operation should be vetoed
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JACCPreDeleteEventListener

public JACCPreDeleteEventListener()
Method Detail

onPreDelete

public boolean onPreDelete(PreDeleteEvent event)
Description copied from interface: PreDeleteEventListener
Return true if the operation should be vetoed

Specified by:
onPreDelete in interface PreDeleteEventListener

initialize

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


Copyright © 2001-2010 Red Hat, Inc. All Rights Reserved.