Changeset 14339

Show
Ignore:
Timestamp:
08.08.2007 13:36:31 (12 years ago)
Author:
qq6
Message:

updated Authentication.java

Files:
1 modified

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