IBM WebSphere Extended Deployment (XD)TM, Release 6.1
ObjectGrid API Specification

com.ibm.websphere.objectgrid.security
Class AnonymousPrincipal

java.lang.Object
  extended by com.ibm.websphere.objectgrid.security.AnonymousPrincipal
All Implemented Interfaces:
java.security.Principal

public final class AnonymousPrincipal
extends java.lang.Object
implements java.security.Principal

This Principal class represents an anonymous user.

Since:
WAS XD 6.0.1

Field Summary
static java.lang.String ANONYMOUS_NAME
          A string representing the anonymous user's name.
 
Method Summary
 java.lang.String getName()
          Returns the name of this principal.
static AnonymousPrincipal getSingleton()
          Gets an AnonymousPrincipal instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface java.security.Principal
equals, hashCode, toString
 

Field Detail

ANONYMOUS_NAME

public static final java.lang.String ANONYMOUS_NAME
A string representing the anonymous user's name.

See Also:
Constant Field Values
Method Detail

getSingleton

public static AnonymousPrincipal getSingleton()
Gets an AnonymousPrincipal instance

Returns:
the singleton AnonymousPrincipal object

getName

public java.lang.String getName()
Returns the name of this principal.

Specified by:
getName in interface java.security.Principal
Returns:
the name of this principal.
See Also:
ANONYMOUS_NAME

IBM WebSphere Extended Deployment (XD)TM, Release 6.1
ObjectGrid API Specification

© Copyright International Business Machines Corp 2005-2007. All rights reserved.