class TokenAuthenticationService {

    public AuthenticationToken getAuthentication(HttpServletRequest request) {
        if (isHashValidForRequest(request)) {
            return new AuthenticationToken();
        }
        return null;
    }

    @Autowired public  TokenAuthenticationService(@Value("${ifs.finance-totals.authSecretKey}") String secretKey,
                                      HashBasedMacTokenHandler tokenHandler);

}