Changeset 14339


Ignore:
Timestamp:
2007-08-08T13:36:31+12:00 (17 years ago)
Author:
qq6
Message:

updated Authentication.java

File:
1 edited

Legend:

Unmodified
Added
Removed
  • greenstone3/trunk/src/java/org/greenstone/gsdl3/service/Authentication.java

    r14331 r14339  
    226226            service_node.setAttribute("pw",pw);
    227227            //  service_node.setAttribute("asn",asn);
    228             if (userQueryResult!=null && userQueryResult.getSize()<=0){
     228            if (userQueryResult==null){
    229229            asn="0";//the user isn't a vaild user
    230230            service_node.setAttribute("asn","0");// either unsername or password is wrong
Note: See TracChangeset for help on using the changeset viewer.