none
Web APP form SSO in UAG RRS feed

  • Question

  • I publish a web app with form login. Now I want SSO into this AP.

    Now there are 2 questions after I custom FormLogin.xml

    1. Now UAG will insert username and password into fields. I can see first *** shows in password fields, but it will become blank right away.

    2. No auto submit, If I type password again and it can login.

    My custom FormLogin.xml below...The login URL looks like:

    http://ex2010/MailEssentials/pages/LogIn.aspx?ReturnUrl=%2fMailEssentials%2fpages%2fdefault.aspx

    <WHLFILTFORMLOGIN ver="1.0">
        <APPLICATION>
    		<APPLICATION_TYPE>MailEssentials</APPLICATION_TYPE>
    		<USAGE description="form_login">
    		<PRIMARY_HOST_URL>/mailessentials/pages/login\.aspx</PRIMARY_HOST_URL>
    		<SECONDARY_HOST_URL>.*</SECONDARY_HOST_URL>  
    		<SCRIPT_NAME source="data_definition">FormLoginSubmitStandard</SCRIPT_NAME>
    		<USER_AGENT>
    			<AGENT_TYPE search="group">all_supported</AGENT_TYPE>
    			<POLICY>multiplatform</POLICY>
    			<SCRIPT_NAME source="data_definition">FormLoginHandler</SCRIPT_NAME>		
    		</USER_AGENT>
    
    		<LOGIN_FORM>
    			<ID>form1</ID>
    			<METHOD>POST</METHOD>
    			<CONTROL handling="dummy_value">
    				<TYPE>USER_NAME</TYPE>
    				<NAME>txtUsername</NAME>
    				<DEF_VALUE>usr</DEF_VALUE>
    			</CONTROL>
    			<CONTROL handling="dummy_value">
    				<TYPE>PASSWORD</TYPE>
    				<NAME>txtPassword</NAME>
    				<DEF_VALUE>whlpass</DEF_VALUE>
    			</CONTROL>
    			<LOGIN_EVALUATOR indicate="failure">
    				<HEADER>
    				   <NAME>HeaderName</NAME>
    				   <VALUE>RegexExpression</VALUE>
    				</HEADER>
    				<SEARCH encoding="">ERROR:</SEARCH>
    				<SEARCH encoding="">credentials supplied were invalid</SEARCH>
    			</LOGIN_EVALUATOR>
    		</LOGIN_FORM>
    		</USAGE>
    	</APPLICATION>
    </WHLFILTFORMLOGIN>


    邁格行動 技術顧問 George 小顧 部落格: http://www.magg.com.tw/blog/


    Thursday, May 9, 2013 6:21 AM