Open SiteSearch 4.1.1
Final

ORG.oclc.z39
Class AccessControl

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--ORG.oclc.z39.AccessControl

public class AccessControl
extends Throwable

AccessControl defines the code/message values for an Access Control request.

See Also:
Serialized Form

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

unspecified

public static final int unspecified

oclcDatabaseAuthorization

public static final int oclcDatabaseAuthorization

PROMPT1

public static final String PROMPT1

DES1

public static final String DES1

KRB1

public static final String KRB1

OCLC_ACCESS_CONTROL1

public static final String OCLC_ACCESS_CONTROL1

Challenge

public static final int Challenge

Response

public static final int Response

SecurityChallengeSimpleForm

public static final int SecurityChallengeSimpleForm

Diagnostic

public static final int Diagnostic

type

public int type
integer data type defining the type of access control challenge.

additionalInfo

public Object additionalInfo
Object containing information to pertinent to the access control request, such as a list of database names requiring authorization.

referringObject

public Object referringObject
Object containing the information from the command that caused the AccessControl to be thrown.
Constructor Detail

AccessControl

public AccessControl()

AccessControl

public AccessControl(int type,
                     Object additionalInfo)
Constructs an AccessControl object using the input type and additional Information.
Parameters:
type - error condition
additionalInfo - object containing information to create the challenge request.

AccessControl

public AccessControl(DataDir dir)
Constructs an AccessControl object using the input DataDir object containing access control request information.
Parameters:
dir - access control request information request.

AccessControl

public AccessControl(DataDir dir,
                     Object referrer)
Constructs an AccessControl object using the input DataDir object containing access control request information.
Parameters:
dir - access control request information
referrer - the object containing the command for which the AccessControl request was created.
Method Detail

type

public int type()
Returns an integer containing the type of AccessControl.
Returns:
int

additionalInfo

public Object additionalInfo()
Returns the Object containing the additionalInformation needed to for creating the access control challenge request.
Returns:
Object

toString

public String toString()
Constructs a String representation of the object.
Returns:
String
Overrides:
toString in class Throwable

addChallengeInfo

public void addChallengeInfo(DataDir parent)
Adds the diagnostic in the default format to the parent directory

Open SiteSearch 4.1.1
Final