ZenMagick 0.9.6


org.zenmagick.rp.ZMPrincipal

Interface ZMPrincipal

ZMPrincipal

public interface ZMPrincipal

This interface represents the abstract notion of a principal, which can be used to represent any entity, such as an individual, a corporation, and a login id.

Author:
DerManoMann
Version:
$Id$

Field Summary
final mixed

ANONYMOUS

Access level anonymous.

final mixed

GUEST

Access level guest.

final mixed

REGISTERED

Access level registered.

Method Summary
string

getName()

Returns a string representation of this principal.

string

getType()

Get the principal type.

Field Detail

ANONYMOUS

public final mixed ANONYMOUS = 'anonymous'

Access level anonymous. */


GUEST

public final mixed GUEST = 'guest'

Access level guest. */


REGISTERED

public final mixed REGISTERED = 'registered'

Access level registered. */


Method Detail

getName

public string getName()

Returns a string representation of this principal.

Returns:
A string representation of this principal.

getType

public string getType()

Get the principal type.

A principal can be classified using one one of:

Returns:
account type.

ZenMagick 0.9.6