intarsys runtime library

de.intarsys.aaa.permission
Class DenyPermission

java.lang.Object
  extended by de.intarsys.aaa.permission.DenyPermission
All Implemented Interfaces:
IPermission, IResourceAccessHandler

public class DenyPermission
extends Object
implements IPermission

A permission that denies every access.


Constructor Summary
DenyPermission()
           
 
Method Summary
 boolean isAccessGranted(IResource resource)
           if this handler grants access to the resource.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DenyPermission

public DenyPermission()
Method Detail

isAccessGranted

public boolean isAccessGranted(IResource resource)
Description copied from interface: IResourceAccessHandler
if this handler grants access to the resource.

Specified by:
isAccessGranted in interface IResourceAccessHandler
Returns:
if this handler grants access to the resource.

intarsys runtime library

Copyright © 2012 intarsys consulting GmbH. All Rights Reserved.