|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--ORG.oclc.z39.AccessControl
AccessControl defines the code/message values for an Access Control request.
Field Summary | |
Object |
additionalInfo
Object containing information to pertinent to the access control request, such as a list of database names requiring authorization. |
static int |
Challenge
|
static String |
DES1
|
static int |
Diagnostic
|
static String |
KRB1
|
static String |
OCLC_ACCESS_CONTROL1
|
static int |
oclcDatabaseAuthorization
|
static String |
PROMPT1
|
Object |
referringObject
Object containing the information from the command that caused the AccessControl to be thrown. |
static int |
Response
|
static int |
SecurityChallengeSimpleForm
|
int |
type
integer data type defining the type of access control challenge. |
static int |
unspecified
|
Constructor Summary | |
AccessControl()
|
|
AccessControl(DataDir dir)
Constructs an AccessControl object using the input DataDir object containing access control request information. |
|
AccessControl(DataDir dir,
Object referrer)
Constructs an AccessControl object using the input DataDir object containing access control request information. |
|
AccessControl(int type,
Object additionalInfo)
Constructs an AccessControl object using the input type and additional Information. |
Method Summary | |
void |
addChallengeInfo(DataDir parent)
Adds the diagnostic in the default format to the parent directory |
Object |
additionalInfo()
Returns the Object containing the additionalInformation needed to for creating the access control challenge request. |
String |
toString()
Constructs a String representation of the object. |
int |
type()
Returns an integer containing the type of AccessControl. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace,
getLocalizedMessage,
getMessage,
printStackTrace,
printStackTrace,
printStackTrace |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Field Detail |
public static final int unspecified
public static final int oclcDatabaseAuthorization
public static final String PROMPT1
public static final String DES1
public static final String KRB1
public static final String OCLC_ACCESS_CONTROL1
public static final int Challenge
public static final int Response
public static final int SecurityChallengeSimpleForm
public static final int Diagnostic
public int type
public Object additionalInfo
public Object referringObject
Constructor Detail |
public AccessControl()
public AccessControl(int type, Object additionalInfo)
type
- error conditionadditionalInfo
- object containing information to create the challenge
request.public AccessControl(DataDir dir)
dir
- access control request information
request.public AccessControl(DataDir dir, Object referrer)
dir
- access control request informationreferrer
- the object containing the command for which the AccessControl
request was created.Method Detail |
public int type()
public Object additionalInfo()
public String toString()
public void addChallengeInfo(DataDir parent)
|
Open SiteSearch 4.1.1 Final |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |