tryllian.are.security
Class HabitatEntryPermission
java.lang.Object
java.security.Permission
java.security.BasicPermission
tryllian.are.security.BasicAREPermission
tryllian.are.security.HabitatEntryPermission
- All Implemented Interfaces:
- java.security.Guard, java.io.Serializable
- public class HabitatEntryPermission
- extends BasicAREPermission
The HabitatEntryPermission class defines the
permission to enter a habitat.
HabitatEntryPermission follows the naming conventions
of BasicPermsission.
An asterisk may be used to grant the right to enter any habitat.
- See Also:
- Serialized Form
|
Constructor Summary |
HabitatEntryPermission(java.lang.String name)
Create a HabitatEntryPermissiom for the named habitat. |
HabitatEntryPermission(java.lang.String name,
java.lang.String action)
Create a HabitatEntryPermissiom for the named habitat. |
| 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 |
HabitatEntryPermission
public HabitatEntryPermission(java.lang.String name)
- Create a
HabitatEntryPermissiom for the named habitat.
The name of the habitat may be an asterisk to grant entrance to any
habitat.
- Parameters:
name - the name of the habitat.
HabitatEntryPermission
public HabitatEntryPermission(java.lang.String name,
java.lang.String action)
- Create a
HabitatEntryPermissiom for the named habitat.
The name of the habitat may be an asterix to grant entrance to any
habitat.
- Parameters:
name - the name of the habitat.action - is ignored