public boolean isTokenExpired() { return tokenInfo.isExpired(); }
if(tokenInfo.isExpired()) { log.info("Access token '{}' was expired", at.getToken()); return null; String clientId = tokenInfo.getClientId(); String userId = tokenInfo.getUserId(); UserPrincipal user = tokenInfo.getUserInfo(); ClientPrincipal client = null; client = new OAuth2Client(clientId, tokenInfo.getClaims()); if(null != tokenInfo.getScope()) { authc.setPermissions(Strings.split(tokenInfo.getScope(), ',', ' '));