Open SiteSearch 4.1.1
Final

ORG.oclc.jassi.access
Class AccessUserData

java.lang.Object
  |
  +--ORG.oclc.jassi.access.AccessUserData

public class AccessUserData
extends Object
implements UserApplicationContext

The AccessUserData class maintains one or more AccessClient objects created for a user to provide access control. It ensures that initialization and cleanup for each client is performed so that the application user does not have to perform these activities manually.


Constructor Summary
AccessUserData()
          Constructs an AccessUserData object.
 
Method Summary
 void delete(UserStateObject user)
          Cleans up all the AccessClients for this user.
static AccessClient get(UserStateObject user)
          Gets the AccessClient object for the user for the ServerType "AccessServer".
static AccessClient get(UserStateObject user, String AccessServerName)
          Gets the AccessClient object for the user for the supplied AccessServerName.
 void init(UserStateObject user)
          Initializes the AccessUserData class for the input UserStateObject.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AccessUserData

public AccessUserData()
Constructs an AccessUserData object.
Method Detail

get

public static AccessClient get(UserStateObject user)
Gets the AccessClient object for the user for the ServerType "AccessServer". When multiple AccessClients are used for a single user, the get() method supplying the specific AccessServerName is recommended.
Parameters:
user - this user
Returns:
AccessClient

get

public static AccessClient get(UserStateObject user,
                               String AccessServerName)
Gets the AccessClient object for the user for the supplied AccessServerName. This is designed to accomodate having multiple AccessClients defined for a single user.
Parameters:
user - the User state object.
AccessServerName - the serverName() associated with the AccessClient.
Returns:
AccessClient

init

public void init(UserStateObject user)
Initializes the AccessUserData class for the input UserStateObject.
Specified by:
init in interface UserApplicationContext
Parameters:
user - this user

delete

public void delete(UserStateObject user)
Cleans up all the AccessClients for this user.
Specified by:
delete in interface UserApplicationContext
Parameters:
user - the User state object.

Open SiteSearch 4.1.1
Final