Open SiteSearch 4.1.1
Final

ORG.oclc.access
Interface IClient

All Known Implementing Classes:
RBAccessClient

public abstract interface IClient
extends AccessClient

The IClient interface defines the methods that must be implemented by all classes designed to perform access control for users in the SiteSearch system.


Field Summary
static String ADMIN
           
static String DELETE
           
static String DISPLAY
           
static int DISPLAY_INT
           
static int EDIT
           
static String EXPORTXML
           
static int SUBMITTEMPLATE
           
static String UPDATE
           
static String VIEW
           
 
Fields inherited from class ORG.oclc.access.AccessClient
AUTHORIZED_BY_DNS, AUTHORIZED_BY_IP, AUTHORIZED_BY_NAME, FAILED_AUTHORIZATION, FAILED_CONNECTION, INVALID_DNS, INVALID_IP, INVALID_NAME, UNAUTHORIZED
 
Method Summary
 boolean authorizeByName(String autho, String system, String password)
          Performs an autho/password Authorization using the input authorization, application type (e.g., searcher, cataloger) and password strings.
 boolean checkAutho(int authLevel)
          Checks to see if the user is authorized for this action
 boolean checkAutho(String accessType, String objectName, String objectType)
          Checks to see if the user is authorized for this action for this object type
 Vector getList(String uid, String accessType, String objectType)
          Performs an autho/password Authorization using the input authorization and password strings.
 Vector loadPersistentUserProfile()
          Retrieves persistent user profile information from the database
 boolean same(String grp, String rdgrp)
          Determines if two input groups are the same.
 void savePersistentUserProfile(Vector pupi)
          Saves persistent user profile information to the database
 
Methods inherited from interface ORG.oclc.access.AccessClient
autho, authorizeByDNS, authorizeByIP, authorizeByName, authorizedByDNS, authorizedByIP, authorizedByName, authorizeErrorCode, authorizeErrorMessage, authosEquals, close, dbAccessAllowed, delete, get, getDbList, getMetaData, getRemoteAutho, getRemotePassword, initialize, IP, password, put, setAuthoPassword, setDbList, setLog, toString, user
 

Field Detail

DISPLAY_INT

public static final int DISPLAY_INT

EDIT

public static final int EDIT

SUBMITTEMPLATE

public static final int SUBMITTEMPLATE

EXPORTXML

public static final String EXPORTXML

UPDATE

public static final String UPDATE

DELETE

public static final String DELETE

DISPLAY

public static final String DISPLAY

VIEW

public static final String VIEW

ADMIN

public static final String ADMIN
Method Detail

authorizeByName

public boolean authorizeByName(String autho,
                               String system,
                               String password)
Performs an autho/password Authorization using the input authorization, application type (e.g., searcher, cataloger) and password strings.
Parameters:
autho - the user's authorization
system - the user's application
password - the user's password
Returns:
true when the user is authorized, false for invalid authorization

checkAutho

public boolean checkAutho(int authLevel)
Checks to see if the user is authorized for this action

checkAutho

public boolean checkAutho(String accessType,
                          String objectName,
                          String objectType)
Checks to see if the user is authorized for this action for this object type

getList

public Vector getList(String uid,
                      String accessType,
                      String objectType)
Performs an autho/password Authorization using the input authorization and password strings.
Parameters:
uid - the user key.
accessType -  
objectType - the OID of the object.
Returns:
vector of objects that satify the above three criteria

loadPersistentUserProfile

public Vector loadPersistentUserProfile()
Retrieves persistent user profile information from the database
Returns:
Vector

savePersistentUserProfile

public void savePersistentUserProfile(Vector pupi)
Saves persistent user profile information to the database
Parameters:
Vector - pupi user profile inforamtion

same

public boolean same(String grp,
                    String rdgrp)
Determines if two input groups are the same.
Parameters:
grp - - the first group
rgrp - the second group
password - the user's password
Returns:
true when the groups are the same false when there not.

Open SiteSearch 4.1.1
Final