diff -r 000000000000 -r 2e8eeb919028 configurationengine/source/cone/storage/authenticate.py --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/configurationengine/source/cone/storage/authenticate.py Thu Mar 11 17:04:37 2010 +0200 @@ -0,0 +1,153 @@ +# +# Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +# All rights reserved. +# This component and the accompanying materials are made available +# under the terms of "Eclipse Public License v1.0" +# which accompanies this distribution, and is available +# at the URL "http://www.eclipse.org/legal/epl-v10.html". +# +# Initial Contributors: +# Nokia Corporation - initial contribution. +# +# Contributors: +# +# Description: +# + +""" + +""" + + +import getpass +import urllib, urllib2 +import urlparse +from HTMLParser import HTMLParser +import sys +import os +import logging +import re + + +class SSOHTMLParser(HTMLParser): + """ + Simple html parser which understand what is needed to show the current + version of the SSO login page. End parsing at <\html>, which is in + current version of login page inside