org.jdesktop.wonderland.server.auth
Class ClientIdentityManager

java.lang.Object
  extended by org.jdesktop.wonderland.server.auth.ClientIdentityManager

public class ClientIdentityManager
extends java.lang.Object

The ClientIdentityManager class facilitates access (by way of the ClientIdentity class) to the WonderlandIdentity object found in a given UserGLO object. In particular, this is necessary for identifying the user group to which a given participant belongs. With such information, we can effectively operate a discretionary access control system. Note that this code is based upon sample code by Brendan Burns (brendan.d.burns on gmail); modified by Tim Wright for the purpose of accessing identity data. To use, add: com.sun.sgs.app.services=:ClientIdentityService com.sun.sgs.app.managers=:ClientIdentityManager to the DarkStar server's .properties file. Then access with AppContext.getManager(ClientIdentityManager.class);

Version:
0.1
Author:
twright

Constructor Summary
ClientIdentityManager(ClientIdentityService service)
          Constructor, required by a manager object.
 
Method Summary
 WonderlandIdentity getClientID()
          Get a client's identity.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClientIdentityManager

public ClientIdentityManager(ClientIdentityService service)
Constructor, required by a manager object.

Method Detail

getClientID

public WonderlandIdentity getClientID()
Get a client's identity.

Returns:
the WonderlandIdentity object belonging to the client.


Open Wonderland - http://openwonderland.org