//get current user String currentUser = AuthenticationUtil.getFullyAuthenticatedUser(); String fakeUser = "IAMBIGD"; LOGGER.debug("currentUser:" + currentUser); if (currentUser == null || !currentUser.equals(fakeUser)) { // AuthenticationUtil.setCurrentUser(username); //set impersonate AuthenticationUtil.setFullyAuthenticatedUser(fakeUser); }
沒有留言:
張貼留言
留個話吧:)