com.objectwave.appArch.security
Class SecuritySupport

java.lang.Object
  |
  +--com.objectwave.appArch.security.SecuritySupport
All Implemented Interfaces:
Prototypes, SecurityListener

public class SecuritySupport
extends java.lang.Object
implements SecurityListener

If you wish to provide support for security checks, you can use this class.


Field Summary
 
Fields inherited from interface com.objectwave.appArch.security.Prototypes
ALL, EXECUTE, GROUP, NONE, OWNER, READ, WORLD, WRITE
 
Constructor Summary
SecuritySupport(java.lang.Object source)
           
 
Method Summary
 void addSecurityListener(SecurityListener item)
           
 SecurityType getAccessRights(java.lang.Object action, java.lang.Object user)
          Thread safe dispatching of an event.
 java.lang.Object getSource()
           
 void removeSecurityListener(SecurityListener item)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecuritySupport

public SecuritySupport(java.lang.Object source)
Method Detail

addSecurityListener

public void addSecurityListener(SecurityListener item)

getAccessRights

public SecurityType getAccessRights(java.lang.Object action,
                                    java.lang.Object user)
Thread safe dispatching of an event.

Specified by:
getAccessRights in interface SecurityListener

getSource

public java.lang.Object getSource()

removeSecurityListener

public void removeSecurityListener(SecurityListener item)