|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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 |
public static final int DISPLAY_INT
public static final int EDIT
public static final int SUBMITTEMPLATE
public static final String EXPORTXML
public static final String UPDATE
public static final String DELETE
public static final String DISPLAY
public static final String VIEW
public static final String ADMIN
Method Detail |
public boolean authorizeByName(String autho, String system, String password)
autho
- the user's authorizationsystem
- the user's applicationpassword
- the user's passwordpublic boolean checkAutho(int authLevel)
public boolean checkAutho(String accessType, String objectName, String objectType)
public Vector getList(String uid, String accessType, String objectType)
uid
- the user key.accessType
- objectType
- the OID of the object.public Vector loadPersistentUserProfile()
public void savePersistentUserProfile(Vector pupi)
Vector
- pupi user profile inforamtionpublic boolean same(String grp, String rdgrp)
grp
- - the first grouprgrp
- the second grouppassword
- the user's password
|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |