Skip to content

Commit

Permalink
fix:reset session tp cache (in case guest is active tp won't get upda…
Browse files Browse the repository at this point in the history
…ted)
  • Loading branch information
torsten-simon committed Jul 12, 2024
1 parent 57e8db8 commit c4f5888
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@
import org.edu_sharing.service.authentication.EduAuthentication;
import org.edu_sharing.service.authentication.SSOAuthorityMapper;
import org.edu_sharing.service.authority.AuthorityServiceFactory;
import org.edu_sharing.service.toolpermission.ToolPermissionService;
import org.edu_sharing.service.toolpermission.ToolPermissionServiceFactory;
import org.springframework.beans.factory.NoSuchBeanDefinitionException;
import org.springframework.context.ApplicationContext;
import org.springframework.extensions.surf.util.URLDecoder;
Expand Down Expand Up @@ -139,7 +141,7 @@ protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws Se
}

try {

Objects.requireNonNull(ToolPermissionServiceFactory.getInstance()).invalidateSessionCache();
logger.info("no valid authinfo found in session. doing the repository shib auth");

logger.info("req.getCharacterEncoding():"+req.getCharacterEncoding());
Expand Down

0 comments on commit c4f5888

Please sign in to comment.