Web Service Authentication Encrypter

This tools is distributed as part of the framework package. It allows to users to encrypt user authentication credentials via command line to generate a token that is added to the header of all web service requests. The framework then decrypts the token to authenticate the user before invoking the request. The execution script run-web-service-encrypter.bat (or run-web-service-encrypter.sh for linux) is located under %MV_HOME%/tools/ directory.

Examples of use:

  • %MV_HOME%/tools/run-web-service-encrypter.bat

    This will ask for a username and password (twice) and then show the encrypted token (ready to copy/paste)

            C:\apps\midvision\tools>run-web-service-encrypter.bat
            MV_HOME="C:\apps\midvision"
            MV_HOME is set as "C:\apps\midvision"
            Please enter the username:
            wsUser01
            Please enter the password:
            
            Please re-enter the password:
            
            ENCRYPTED WEBSERVICE TOKEN:
            d3NVc2VyMDE6L3A1TDVDNk4zcFlNV3htdkdSS0RDd0NiT2hEL3FUSHk=