Added support in the metacat client for the new function added to MetaCatServlet
Added a new action - getloggedinuserinfo - which returns information about the user in the following format.
<user><username>uid=sgarg,o=NCEAS,dc=ecoinformatics,dc=org</username><name>Saurabh Garg</name><isAdministrator/><isMOderator/></user>
Removed code entered in previous commit as it is no longer needed
Also in the previous commit, the successful message changed. Now in addtion to the sessionid tag, the following tags also included: <name>[name of the user]</name>, <isModerator> (if is moderator) and <isAdministrator> (if is Administrator)
Added a new function - getUserInfo to AuthInterface and AuthLdapThe function returns a string array for a given username. the array contains the name, organization name and email address of the user. In case of ldap, it is cn, o and mail attributes for ldapbase=username...
Fixed a bug in QueryGroup which prevented QueryGroup from appending itself to the sql query when no queryTerm is present.
Changes in log levels of some commands mentioned in the previos commit.
Replacing MetaCatUtil.debugMessage or MetaCatUtil.logMetacat call with logMetacat (private Logger object) call
Commited the wrong MetaCatUtil.java file last time. Making the changes again.
1. Replacing MetaCatUtil.debugMessage or MetaCatUtil.logMetacat call with logMetacat (private Logger object) call 2. Commented out debugMessage() 3. Removed getLog() and earlier old log4j code...
1. Replacing MetaCatUtil.debugMessage or MetaCatUtil.logMetacat call with logMetacat (private Logger object) call2. Commented out debugMessage()3. Removed getLog() and earlier old log4j code4. Removed formattedDebugMessage
View revisions
Also available in: Atom