Ignore:
Timestamp:
Feb 2, 2015, 10:32:53 AM (9 years ago)
Author:
casties
Branch:
default
Message:

renamed getFullname to make it configurable.
fixed Restlet at 2.2.3.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/main/java/de/mpiwg/itgroup/annotations/restlet/BaseRestlet.java

    r80 r86  
    2121 * <http://www.gnu.org/licenses/lgpl-3.0.html>.
    2222 * #L%
    23  * Author: Robert Casties (casties@mpiwg-berlin.mpg.de)
     23 * Author: Robert Casties (casties@mpiwg-berlin.mpg.de),
     24 *         Dirk Wintergruen (dwinter@mpiwg-berlin.mpg.de)
    2425 */
    2526
     
    9899    public static final String LDAP_SERVER_KEY = "annotationmanager.ldapserver.url";
    99100
     101    /**
     102     * web frontend admin user name
     103     */
    100104    public static final String ADMIN_USER_KEY = "annotationmanager.admin.user";
     105    /**
     106     * web frontend admin user password
     107     */
    101108    public static final String ADMIN_PASSWORD_KEY = "annotationmanager.admin.password";
    102109
     
    277284
    278285    /**
     286     * Return the full name (String) of the person with the given user-id.
     287     *
     288     * Contacts a naming service (currently LDAP).
     289     *
     290     * @param userId
     291     * @return full-name
     292     */
     293    public String getFullNameForId(String userId) {
     294        return getFullNameFromLdap(userId);
     295    }   
     296   
     297    /**
    279298     * Hole den vollen Benutzernamen aus dem LDAP
    280299     *
Note: See TracChangeset for help on using the changeset viewer.