Project

General

Profile

Revision 1448

Added by Jing Tao over 18 years ago

Add access control for return fields.

View differences:

src/edu/ucsb/nceas/metacat/DBQuery.java
444 444
            MetaCatUtil.debugMessage("Time for execute access extended query: "
445 445
                              +(extendedAccessQueryEnd-extendedQueryStart), 30);
446 446
            
447
            String extendedQuery = qspec.printExtendedSQL(doclist.toString());
447
            String extendedQuery = qspec.printExtendedSQL(doclist.toString(), 
448
                                                          controlPairs);
448 449
            MetaCatUtil.debugMessage("Extended query: "+ extendedQuery, 30);
449 450
            pstmt = dbconn.prepareStatement(extendedQuery);
450 451
            //increase dbconnection usage count

Also available in: Unified diff