Avatar

Level 1

Can you provide a little more instruction on this front?

We have developed an implementation using ISSOManager. The following code is executed during application initialisation:

userManager = ServiceProvider.getUserService(  );

var configService: IConfigService = ServiceProvider.getConfigService(  );

configService.loadFlexConfig().addHandlers

     (

          function(event:ResultEvent):void

          {

               flexConfig = event.result as FlexConfiguration;

               userManager.flexConfig = flexConfig;

          },

          function ( event: FaultEvent :disappointed_face: void

          {

          }

     );

After the user has entered their credentials, the following calls are made:

userManager.addEventListener( UserEvent.AUTHENTICATION_SUCCESS,

          function ( event: UserEvent )

          {

          }

     );

userManager.login( username, password );

However, calling login() fails. If the system configuration loginMode (adobe-acm-webmodules-9.5.0.0.20101001.1.170840.jar/META-INF/spring/module.properties) is set to 'sso' then the UserEvent.AUTHENTICATION_SUCCESS gets fired, but subsequent RemoteObject calls fail due to a lack of authentication. If loginMode is set to 'basic', then the following error is raised:

{icc} info    [com.adobe.icc.services.user.providers::SSOManager/sendRequest]@15:21:44 > [SSOmanager] Contacting [http://localhost:8080/cmsa/j_spring_security_check]
{icc} info    [com.adobe.icc.services.user.providers::UserManager/authFaultHandler]@15:21:44 > authFaultHandler:[Event type="authenticationFault" bubbles=true cancelable=false eventPhase=2]