You need to sign in to do that
Don't have an account?
ekm
Flex App - Require Secure Connections (HTTPS) issue
Hello,
I'm working with salesforce using an app developed using Flex and ran into an issue that I'm attempting to troubleshoot. Everything was working fine and then in the security settings (set up - administration setup - security control - session settings), we checked 'Require Secure Connections (https)' checkbox. Now the data I have loaded in Salesforce does not display in my Flex app when running from another server either outside or inside our firewall (this setting is a general setting for all who will log into our application).
I'm using the login code found in the samples I downloded from Salesforce (see below).
Does anyone have any suggetions for why my login no longer works?
Thanks in advance for any suggestions one might have.
Regards,
Errol
<salesforce:Connection id="apex"
serverUrl="https://test.salesforce.com/services/Soap/u/14.0"
/>
private function login():void {
var lr:LoginRequest = new LoginRequest( {
server_url : Application.application.parameters.server_url,
session_id : Application.application.parameters.session_id,
username : 'username',
password : 'password',
callback : new AsyncResponder(function (result:Object):void
{
} )
} );
Util.debug(this, 'apex.login ( ' +ObjectUtil.toString(lr) +'\n);' );
apex.protocol = "http";
apex.login(lr);
}
I'm working with salesforce using an app developed using Flex and ran into an issue that I'm attempting to troubleshoot. Everything was working fine and then in the security settings (set up - administration setup - security control - session settings), we checked 'Require Secure Connections (https)' checkbox. Now the data I have loaded in Salesforce does not display in my Flex app when running from another server either outside or inside our firewall (this setting is a general setting for all who will log into our application).
I'm using the login code found in the samples I downloded from Salesforce (see below).
Does anyone have any suggetions for why my login no longer works?
Thanks in advance for any suggestions one might have.
Regards,
Errol
<salesforce:Connection id="apex"
serverUrl="https://test.salesforce.com/services/Soap/u/14.0"
/>
private function login():void {
var lr:LoginRequest = new LoginRequest( {
server_url : Application.application.parameters.server_url,
session_id : Application.application.parameters.session_id,
username : 'username',
password : 'password',
callback : new AsyncResponder(function (result:Object):void
{
} )
} );
Util.debug(this, 'apex.login ( ' +ObjectUtil.toString(lr) +'\n);' );
apex.protocol = "http";
apex.login(lr);
}
Superfell
I would suspect the apex.protocol = "http"; line to be the problem.