Changed the filter and ldapbase values in getUserInfo so that it works for both NCEAS and LTER ldap
Bug fix in the changes made in previous commit
Added warning to be displayed in the log when document is not inserted.
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.
View revisions
Also available in: Atom