net.larsan.norna.service.log
Class LogPermission

java.lang.Object
  |
  +--java.security.Permission
        |
        +--java.security.BasicPermission
              |
              +--net.larsan.norna.service.log.LogPermission
All Implemented Interfaces:
java.security.Guard, java.io.Serializable

public class LogPermission
extends java.security.BasicPermission

The log permission is a simple permission used to grant access to the add- and remove filter methods on the log handle and to use the log at all. This permission have no actions and uses the following targets:

   log
   addFilter
   removeFilter
   flush
 
The use of wildcard '*' is permitted.

Version:
Alpha-0.2 / 2002-10-06 21:37
Author:
Lars J. Nilsson
See Also:
LogHandle, Serialized Form

Constructor Summary
LogPermission(java.lang.String target)
          Create permission.
 
Methods inherited from class java.security.BasicPermission
equals, getActions, hashCode, implies, newPermissionCollection
 
Methods inherited from class java.security.Permission
checkGuard, getName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LogPermission

public LogPermission(java.lang.String target)
Create permission. The following targets are available:
   log
   addFilter
   removeFilter
   flush
 

Parameters:
target - Permission target