net.sourceforge.idrs.core
Class IDRSSecurity

java.lang.Object
  |
  +--net.sourceforge.idrs.core.IDRSSecurity

public class IDRSSecurity
extends java.lang.Object

IDRSSecurity Copyright (C) 2000 Marc Boorshtein under the GNU General Public License offered without warenty Used to verify that a user has access to a particuler document


Field Summary
(package private)  int docID
           
(package private)  java.io.BufferedReader in
           
 
Constructor Summary
IDRSSecurity(int docID, java.lang.String userName, java.lang.String password, java.sql.Connection con, boolean toLower)
           
IDRSSecurity(java.lang.String docName, java.lang.String userName, java.lang.String password, java.sql.Connection con, boolean toLower)
           
 
Method Summary
 void close()
           
 java.lang.String getConns()
          Returns a string containing all of the connections needed by a report
 int getDocID()
           
 java.lang.String getParamNames()
           
 java.lang.String getParamSRC()
           
 java.lang.String getSrc()
           
 int getUserID()
           
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

docID

int docID

in

java.io.BufferedReader in
Constructor Detail

IDRSSecurity

public IDRSSecurity(java.lang.String docName,
                    java.lang.String userName,
                    java.lang.String password,
                    java.sql.Connection con,
                    boolean toLower)
             throws java.lang.Exception

IDRSSecurity

public IDRSSecurity(int docID,
                    java.lang.String userName,
                    java.lang.String password,
                    java.sql.Connection con,
                    boolean toLower)
             throws java.lang.Exception
Method Detail

getUserID

public int getUserID()
              throws java.lang.Exception

getDocID

public int getDocID()
             throws java.lang.Exception

getSrc

public java.lang.String getSrc()
                        throws java.lang.Exception

getConns

public java.lang.String getConns()
                          throws java.lang.Exception
Returns a string containing all of the connections needed by a report

getParamSRC

public java.lang.String getParamSRC()
                             throws java.lang.Exception

getParamNames

public java.lang.String getParamNames()
                               throws java.lang.Exception

close

public void close()
           throws java.lang.Exception