IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

com.ibm.websphere.objectgrid.security
Class AnonymousPrincipal

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

public final class AnonymousPrincipal
extends Object
implements Principal

This Principal class represents an anonymous user.

Since:
WAS XD 6.0.1

Field Summary
static String ANONYMOUS_NAME
          A string representing the anonymous user's name.
 
Method Summary
 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 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 String getName()
Returns the name of this principal.

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

IBM WebSphereTM eXtreme Scale, Release 8.6
API Specification

© Copyright International Business Machines Corp 2005,2012. All rights reserved.