Ignore:
Timestamp:
05/22/14 14:22:49 (10 years ago)
Author:
olhsha@mpi.nl
Message:

Fixing automatic generation of a shibbolized user record and fixing update principals (both bugs appeared after refactoring). Fixing dynamic logout link. Fixing jsp page.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend/src/main/java/eu/dasish/annotation/backend/rest/ResourceResource.java

    r5088 r5266  
    6262        String remotePrincipal = httpServletRequest.getRemoteUser();
    6363        if (remotePrincipal != null) {
    64             if (!remotePrincipal.equals("anonymous")) {
     64            if (!remotePrincipal.equals(anonym)) {
    6565                try {
    6666                    return dbDispatcher.getPrincipalInternalIDFromRemoteID(remotePrincipal);
    6767                } catch (NotInDataBaseException e) {
    6868                    loggerServer.info(e.toString());
    69                     loggerServer.info("The record for the user with the Shibboleth id " + remotePrincipal + " will be generated now automatically.");
     69                    loggerServer.info("The record for the user with the id " + remotePrincipal + " will be generated now automatically.");
    7070                    try {
    7171                        try {
Note: See TracChangeset for help on using the changeset viewer.