jreceiver.common.rpc
Interface Users

All Superinterfaces:
RpcBase, ServerTable

public interface Users
extends ServerTable

User-related queries and updates for a (possibly-remote) JRec server

Version:
$Revision: 1.3 $ $Date: 2002/07/31 11:29:41 $
Author:
Reed Esau

Field Summary
static java.lang.String GET_AUTHENTIC_USER
           
static java.lang.String HANDLER_NAME
           
 
Fields inherited from interface jreceiver.common.rpc.ServerTable
DELETE_RECS, GET_KEY_COUNT, GET_KEYS, GET_REC, GET_RECS, STORE_REC, STORE_RECS
 
Fields inherited from interface jreceiver.common.rpc.RpcBase
DETECT
 
Method Summary
 User getAuthenticUser(java.lang.String user_id, java.lang.String password, java.util.Hashtable args)
          return the user rec if credentials are valid
 
Methods inherited from interface jreceiver.common.rpc.ServerTable
deleteRecs, getKeyCount, getKeys, getRec, getRec, getRecs, getRecs, storeRec, storeRecs
 
Methods inherited from interface jreceiver.common.rpc.RpcBase
detect
 

Field Detail

HANDLER_NAME

public static final java.lang.String HANDLER_NAME

GET_AUTHENTIC_USER

public static final java.lang.String GET_AUTHENTIC_USER
Method Detail

getAuthenticUser

public User getAuthenticUser(java.lang.String user_id,
                             java.lang.String password,
                             java.util.Hashtable args)
                      throws RpcException
return the user rec if credentials are valid

Note that the data contained returned User object is strictly advisory -- meaning that it cannot be used directly to gain access.

For example, the list of roles in the returned User object may change after the call. Access control will always occur based upon the current database state, not on the User object you received as a result of this call.



Copyright © 2001-2002 Reed Esau, All Rights Reserved.