@Test public void testPodInfoNullPodId() { assertFalse(jwtAuthentication.checkPodInfo(MOCK_CONFIG_ID, null)); }
@Override public boolean checkPodInfo(String configurationId, String podId) { if (StringUtils.isEmpty(podId)) { return Boolean.FALSE; } if (podInfo == null) { podInfo = getPodInfo(configurationId); } return podInfo.verifyPodId(podId); }
JwtAuthenticationImpl implements JwtAuthentication { @Override public boolean checkPodInfo(String configurationId, String podId) { if (StringUtils.isEmpty(podId)) { return Boolean.FALSE; } if (podInfo == null) { podInfo = getPodInfo(configurationId); } return podInfo.verifyPodId(podId); } }
JwtAuthenticationImpl implements JwtAuthentication { @Override public boolean checkPodInfo(String configurationId, String podId) { if (StringUtils.isEmpty(podId)) { return Boolean.FALSE; } if (podInfo == null) { podInfo = getPodInfo(configurationId); } return podInfo.verifyPodId(podId); }  }
JwtAuthenticationImpl implements JwtAuthentication { @Override public boolean checkPodInfo(String configurationId, String podId) { if (StringUtils.isEmpty(podId)) { return Boolean.FALSE; } if (podInfo == null) { podInfo = getPodInfo(configurationId); } return podInfo.verifyPodId(podId); }  @PostConstruct void init(); Long getUserIdFromAuthorizationHeader(String configurationId, String authorizationHeader); JwtPayload getJwtToken(String configurationId, String authorizationHeader); Long getUserId(JwtPayload token); String authenticate(String configurationId); boolean isValidTokenPair(String configurationId, String applicationToken,
      String symphonyToken); JwtPayload parseJwtPayload(String configurationId, String jwt); @Override boolean checkPodInfo(String configurationId, String podId); }
JwtAuthenticationImpl implements JwtAuthentication { @Override public boolean checkPodInfo(String configurationId, String podId) { if (StringUtils.isEmpty(podId)) { return Boolean.FALSE; } if (podInfo == null) { podInfo = getPodInfo(configurationId); } return podInfo.verifyPodId(podId); }  @PostConstruct void init(); Long getUserIdFromAuthorizationHeader(String configurationId, String authorizationHeader); JwtPayload getJwtToken(String configurationId, String authorizationHeader); Long getUserId(JwtPayload token); String authenticate(String configurationId); boolean isValidTokenPair(String configurationId, String applicationToken,
      String symphonyToken); JwtPayload parseJwtPayload(String configurationId, String jwt); @Override boolean checkPodInfo(String configurationId, String podId);  }