Was this question answered? I am having a problem consuming services that are, CAC enabled in my Flex Viewer. We are migrating to a JavaScript viewer, However, our Flex Viewer is very complex , therefore, it will take some time to replicate the application.