Changeset 5774 for DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend/src/main/java/eu/dasish/annotation/backend/rest/AutheticationResource.java
- Timestamp:
- 11/05/14 14:32:51 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
DASISH/t5.6/backend/annotator-backend/trunk/annotator-backend/src/main/java/eu/dasish/annotation/backend/rest/AutheticationResource.java
r5385 r5774 81 81 httpServletRequest.getSession().invalidate(); 82 82 boolean isShibboleth = Boolean.parseBoolean(context.getInitParameter("eu.dasish.annotation.backend.isShibbolethSession")); 83 String redirect = isShibboleth ? context.getInitParameter("eu.dasish.annotation.backend.logout ") :84 httpServletRequest.getContextPath() + context.getInitParameter("eu.dasish.annotation.backend.logout ");83 String redirect = isShibboleth ? context.getInitParameter("eu.dasish.annotation.backend.logout.shibboleth") : 84 httpServletRequest.getContextPath() + context.getInitParameter("eu.dasish.annotation.backend.logout.basic"); 85 85 httpServletResponse.sendRedirect(redirect); 86 86 }
Note: See TracChangeset
for help on using the changeset viewer.