SK.gnome.dwarf.sample
Class SamplePermission

java.lang.Object
  extended byjava.security.Permission
      extended byjava.security.BasicPermission
          extended bySK.gnome.dwarf.sample.SamplePermission
All Implemented Interfaces:
java.security.Guard, java.io.Serializable

public class SamplePermission
extends java.security.BasicPermission

Sample permission.

See Also:
Serialized Form

Constructor Summary
SamplePermission(java.lang.String name)
          Constructs a new SamplePermission with the given name.
SamplePermission(java.lang.String name, java.lang.String actions)
          Constructs a new SamplePermission with the given name and actions.
 
Methods inherited from class java.security.BasicPermission
equals, getActions, hashCode, implies, newPermissionCollection
 
Methods inherited from class java.security.Permission
getName, checkGuard, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SamplePermission

public SamplePermission(java.lang.String name)
Constructs a new SamplePermission with the given name.

Parameters:
name - the name of the permission

SamplePermission

public SamplePermission(java.lang.String name,
                        java.lang.String actions)
Constructs a new SamplePermission with the given name and actions.

Parameters:
name - the name of the permission
actions - the actions string (ignored)


Copyright (c) 1999-2005, Gnome Ltd. All rights reserved.