au.edu.archer.services.icat.impl
Class NullICATSecurityManger

java.lang.Object
  extended by au.edu.archer.services.icat.impl.NullICATSecurityManger
All Implemented Interfaces:
ICATSecurityManager

public class NullICATSecurityManger
extends java.lang.Object
implements ICATSecurityManager

The null security manager allows all actions.

Author:
nigel

Constructor Summary
NullICATSecurityManger()
           
 
Method Summary
 boolean canDelete(BaseDomain object)
          Tests if the given object can be deleted by the client
 boolean canRead(BaseDomain object)
          Tests if the given object can be read by the client
 boolean canSave(BaseDomain object)
          Tests if the given object can be persisted by the client
static ICATSecurityManager getInstance()
          Get a shared instance of the null security manager.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullICATSecurityManger

public NullICATSecurityManger()
Method Detail

canDelete

public boolean canDelete(BaseDomain object)
Tests if the given object can be deleted by the client

Specified by:
canDelete in interface ICATSecurityManager
Returns:

canRead

public boolean canRead(BaseDomain object)
Tests if the given object can be read by the client

Specified by:
canRead in interface ICATSecurityManager
Returns:

canSave

public boolean canSave(BaseDomain object)
Tests if the given object can be persisted by the client

Specified by:
canSave in interface ICATSecurityManager
Returns:

getInstance

public static ICATSecurityManager getInstance()
Get a shared instance of the null security manager.

Returns:


Copyright © 2008 ARCHER - James Cook University. All Rights Reserved.