Project

General

Profile

« Previous | Next » 

Revision 446

Added by bojilova over 24 years ago

fix for "public" authentication

View differences:

src/edu/ucsb/nceas/metacat/MetaCatSession.java
187 187
        out.append("\n  <message>" + message + "</message>\n");
188 188
        String username = (String)this.session.getAttribute("username");
189 189
        out.append("  <username>" + username + "</username>\n");
190
        if ( username.equals("public") ) { 
191
          out.append("</" + tag + ">");
192
          return out.toString();
193
        }
190 194
        String groupname = (String)this.session.getAttribute("groupname");
191 195
        out.append("  " + groupname + "\n");
192 196

  

Also available in: Unified diff