Here are the steps I had to take to get this working:
- Copy the machineKey section from your old server's web.config to your new server's machine.config files (I did all 4 since I'm not sure what framework version or x86 or x64 are being used by Java).
- Edit your security-config.json file with the following settings:
"userStoreConfig": {
"type": "SQL_SERVER",
"properties": {
"applicationName": "your-application-name",
"connectionString": "Data Source=your-server;Initial Catalog=your-db;User ID=your-username;Password=your-pw"
}
},
"roleStoreConfig": {
"type": "SQL_SERVER",
"properties": {
"applicationName": "your-application-name",
"connectionString": "Data Source=your-server;Initial Catalog=your-db;User ID=your-username;Password=your-pw"
}
}
3. Reboot the server.
4. Test the config settings.