Skip to content

Commit

Permalink
add logs
Browse files Browse the repository at this point in the history
  • Loading branch information
linxiaoxin committed Jul 19, 2024
1 parent cc37767 commit 080149c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
import org.springframework.util.MultiValueMap;
import org.springframework.web.client.RestTemplate;

import java.rmi.ServerException;
import java.time.Duration;
import java.util.ArrayList;
import java.util.Base64;
Expand Down Expand Up @@ -136,6 +135,7 @@ public Boolean checkAccess(String roleName, String path, String method) {
@Override
public Boolean checkUserSessionAccess(String sessionId, String path, String method) {
//get user profile role
log.info("checkUserSessionAccess invoked");
var profile = ((UserProfile) redisTemplate.opsForValue().get(sessionId + "_profile"));
if(profile == null)
{
Expand Down

0 comments on commit 080149c

Please sign in to comment.