~mvo/ubuntu-sso-client/strawman-lp711413

« back to all changes in this revision

Viewing changes to ubuntu_sso/main/windows.py

  • Committer: Tarmac
  • Author(s): Manuel de la Pena, ralsina, Roberto Alsina
  • Date: 2011-04-14 17:01:56 UTC
  • mfrom: (705.2.2 forgotten_password)
  • Revision ID: tarmac-20110414170156-4k8s1708gzgj5oi2
Fixes lp:753281

Adds the required UI and backend to allow a windows user to reset his sso password from the Windows client. Tests have been added to ensure that the backend is correctly called.

Show diffs side-by-side

added added

removed removed

Lines of Context:
922
922
    def _request_remote_objects(self, root):
923
923
        """Get the status remote object."""
924
924
        sso_login = yield root.callRemote('get_sso_login')
925
 
        logger.debug('SSOLogin is %s', sso_login)
926
925
        self.sso_login = SSOLoginClient(sso_login)
927
926
        sso_cred = yield root.callRemote('get_sso_credentials')
928
927
        self.sso_cred = SSOCredentialsClient(sso_cred)