SK.gnome.dwarf.auth
Class EveryonePrincipal

java.lang.Object
  extended bySK.gnome.dwarf.auth.GenericPrincipal
      extended bySK.gnome.dwarf.auth.RolePrincipal
          extended bySK.gnome.dwarf.auth.EveryonePrincipal
All Implemented Interfaces:
java.security.Principal

public final class EveryonePrincipal
extends RolePrincipal

This class implements a Principal representing any user.

The constant INSTANCE can be used instead of creating a new instance each time.

Note that each object instance has a fixed name "EVERYONE", regardless of the name argument passed in to the public constructor.


Field Summary
static EveryonePrincipal INSTANCE
          The principal instance.
 
Constructor Summary
EveryonePrincipal(java.lang.String name)
          Creates a new EveryonePrincipal.
 
Methods inherited from class SK.gnome.dwarf.auth.GenericPrincipal
equals, getName, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

INSTANCE

public static final EveryonePrincipal INSTANCE
The principal instance.

Constructor Detail

EveryonePrincipal

public EveryonePrincipal(java.lang.String name)
Creates a new EveryonePrincipal.

Each object instance will have a fixed name "EVERYONE", regardless of the name argument passed in to the constructor.



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