Open SiteSearch 4.1.1
Final

ORG.oclc.z39
Class oclcAccessControl1

java.lang.Object
  |
  +--ORG.oclc.z39.oclcAccessControl1

public class oclcAccessControl1
extends Object

oclcAccessControl1 the information passed/sent on an AccessControl Request/Response to get database specific user authorization and password information passed to a remote server.


Field Summary
 String[] password
          String data type containing the resource password.
 String[] resourceName
          String data type containing the name of the resource for the userid and password.
 String[] userId
          String data type containing the resource userID.
 
Constructor Summary
oclcAccessControl1()
          Constructs an oclcAccessControl1 object.
oclcAccessControl1(DataDir dir)
          Constructs an oclcAccessControl1 object using the input resource name.
oclcAccessControl1(String resource)
          Constructs an oclcAccessControl1 object using the input resource name.
oclcAccessControl1(String resource, String userId, String password)
          Constructs an oclcAccessControl object using the input resource name, userId, and password.
 
Method Summary
 void addResource(String resource)
          Adds a resourceName entry for the input userId and password.
 void addResource(String resource, String userId, String password)
          Adds a resourceName entry for the input userId and password.
 void buildDir(DataDir parent)
          Adds the diagnostic in the default format to the parent directory
 String toString()
          Constructs a String representation of the object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

resourceName

public String[] resourceName
String data type containing the name of the resource for the userid and password.

userId

public String[] userId
String data type containing the resource userID.

password

public String[] password
String data type containing the resource password.
Constructor Detail

oclcAccessControl1

public oclcAccessControl1()
Constructs an oclcAccessControl1 object.

oclcAccessControl1

public oclcAccessControl1(String resource)
Constructs an oclcAccessControl1 object using the input resource name.
Parameters:
resource - the name of the resource.

oclcAccessControl1

public oclcAccessControl1(DataDir dir)
Constructs an oclcAccessControl1 object using the input resource name.
Parameters:
resource - the name of the resource.

oclcAccessControl1

public oclcAccessControl1(String resource,
                          String userId,
                          String password)
Constructs an oclcAccessControl object using the input resource name, userId, and password.
Parameters:
resource - the name of the resource
userId - the userid for the resource
password - the password for the resource
Method Detail

addResource

public void addResource(String resource)
Adds a resourceName entry for the input userId and password.
Parameters:
resource - the name of the resource

addResource

public void addResource(String resource,
                        String userId,
                        String password)
Adds a resourceName entry for the input userId and password.
Parameters:
resource - the name of the resource
userId - the userid for the resource
password - the password for the resource

toString

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

buildDir

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

Open SiteSearch 4.1.1
Final