intarsys runtime library

de.intarsys.aaa.permission
Class GrantPermission

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

public class GrantPermission
extends Object
implements IPermission

A permission that grants every access.


Constructor Summary
GrantPermission()
           
 
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

GrantPermission

public GrantPermission()
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.