@Override
public AccessToken extractResult(AuthPostMethod method) throws IOException {
//initial check for failure codes leading to authentication failures
if (method.getStatusCode() == SC_BAD_REQUEST) {
throw new SwiftAuthenticationFailedException(
authenticationRequest.toString(), "POST", authUri, method);
}
final AuthenticationResponse access =
JSONUtil.toObject(method.getResponseBodyAsString(),