none
UAG logon page customization RRS feed

  • Question

  • What's the best way to go about customizing the logon page on the UAG?  I'm interested in making changes in the Internalsite folder.  In our IAG2007 we used a modifications of the *.inc files (trunkA1logo.inc, trunkA1bottomtext.inc).  The UAG doesn't seem to use these very well as I tried copying them over to the respective folders.  Thanks in advance.

    Monday, July 11, 2011 8:15 PM

Answers

  • Hi Bill,

    That was correct in the past, in IAG, but with UAG you can have customized language XML files per trunk, using the regular UAG standard for naming such customized files, for example: [trunkname][0or1]en-us.xml

    Regards,


    -Ran
    • Marked as answer by Erez Benari Friday, August 26, 2011 11:18 PM
    Thursday, July 14, 2011 5:26 AM

All replies

  • Hello,

    Is the Ben Ari UAG custom Form Login blog article could help you?


    Follow me on Twitter http://www.twitter.com/liontux | My Blog (French/English) : http://security.sakuranohana.fr/
    Tuesday, July 12, 2011 8:05 AM
  • Thanks for the article.  Does this change apply globally or for the individual trunks?  I have several trunks and would like to customize them individually.

    Bill

    Tuesday, July 12, 2011 2:57 PM
  • It's applied to an application type, and not globally or to a trunk.
    Follow me on Twitter http://www.twitter.com/liontux | My Blog (French/English) : http://security.sakuranohana.fr/
    Tuesday, July 12, 2011 7:49 PM
  • Bill, Lionel,

    I'm sorry to intervene in the middle of your discussion, but it seems to be that you are talking about two separate things.

    Bill is asking about customizing the UAG logon page, while the blog post to which Lionel pointed talks about how to configure UAG to perform SSO to a published web site, when that site uses form-based authentication.

     

    Bill, customizing UAG pages, including the logon page, by using INC files like [trunkname][0or1]logo.inc or [trunkname][0or1]bottomText.inc, works in UAG pretty much just like in IAG. So your approach is correct.

    You say that you copied the files from IAG to UAG and that "UAG doesn't seem to use them very well". This is probably due to some (minor) changes in the file content between IAG and UAG.

    I would recommend that you take a look at the sample Logo.inc and bottomText.inc files in UAG, which are located in the ...\von\InternalSite\CustomUpdate folder, and try to spot what differs in these sample files from what you have in your customized IAG files (obviously, I'm talking about finding the differences in these files, besides the specific customizations that you have/need). If you can find the differences, then you should be able to make the changes in your custom Logo.inc and bottomText.inc and get them to work properly for UAG too.

     

    Regards,


    -Ran
    Wednesday, July 13, 2011 8:53 AM
  • You're right Ran,

    Sorry for the misunderstanding, so I think that this technet articles will be the best for Bill: http://technet.microsoft.com/en-us/library/ee861168.aspx


    Follow me on Twitter http://www.twitter.com/liontux | My Blog (French/English) : http://security.sakuranohana.fr/
    Wednesday, July 13, 2011 2:09 PM
  • Hi Ran,

    Thanks for the help.  Is there an inc file that will let me modify the 'Thank you for using UAG' message per trunk on the logoff message?  In my IAG setup I had it set in the waves.inc custom file and doesn't look like a waves.inc file is available in the UAG.  Below is the waves.inc file.  Also do you know of any links or documentation that goes in some detail about customizing the UAG pages?

    Thanks,

    Bill

    <%'include file for waves (submit) part 
    wave1a = "wave1a"
    wave2a = "wave2a"
    wave1b = "wave1b"
    wave2b = "wave2b"
    if viewWaves <> true then
     wave1a = "empty"
     wave2a = "empty"
     wave1b = "empty"
     wave2b = "empty"
    end if

    if logoutMessage = "" then
     logoutMessage = GetString(3, "Thank you for using<br>Outlook Web Access")
    end if

    dim resetButtonStyle
    resetButtonStyle = "cursor:pointer;"

    if InStr(LCase(Request.ServerVariables("HTTP_USER_AGENT")), "msie") <> 0 then
     resetButtonStyle = "cursor:hand;"
    end if
    %>
    <tr>  
     <TD>   
      <TABLE border="0" cellspacing="0" cellpadding="0">
       <TR>
        <TD>&nbsp;</TD>
        <TD><img src="/InternalSite/images/<%=wave2a%>.gif" align="absmiddle" width=52 height=35></TD>
        <TD colspan=2><img src="/InternalSite/images/<%=wave2b%>.gif" align="absmiddle" width=290 height=35></TD> 
       </TR>
       <TR>
        <TD><img src="/InternalSite/images/<%=wave1a%>.gif" align="absmiddle" width=261 height=41></TD>
        <TD><img src="/InternalSite/images/<%=wave1b%>.gif" align="absmiddle" width=52 height=41></TD>
        <TD width=33>&nbsp;</TD>
        <% if isLogoffMsgScreen = true then %>
        <TD width=257 class="logoutMsg">
         <%=logoutMessage%>
        </TD>
        <% else %>
        <TD width=257>
         <input type="image" src="<%=submitButton%>" id="submit_button" onmouseover="this.src='<%=submitButtonMouseOver%>'" onmouseout="this.src='<%=submitButton%>'" border="0">
         &nbsp;&nbsp;&nbsp;
         <img style="<%=resetButtonStyle%>" id="reset_button" src="<%=resetButton%>" onclick="ResetForm();" onmouseover="this.src='<%=resetButtonMouseOver%>'" onmouseout="this.src='<%=resetButton%>'" border="0">
        </TD>
        <% end if %>
       </TR>
      </TABLE>
     </TD> 
    </tr>

    Wednesday, July 13, 2011 2:36 PM
  • Hi Bill,

    So what you need is actually to change some strings displayed by UAG. You do this by customizing the so-called UAG language fiules. Here is how to do this:

    * For the InternalSite: Customizing text in the InternalSite

    * For the Portal: Customizing text in the portal

     

    As for documentation that goes in detail about customizing the UAG pages, Lionel has pointed you to the top-most article about customizing UAG: http://technet.microsoft.com/en-us/library/ee861168.aspx . Starting from there, you can find articles about all kinds of customizations, including for the InternalSite and for the Portal.

     

    HTH,


    -Ran
    • Proposed as answer by Ran [MSFT] Tuesday, July 19, 2011 7:48 AM
    Wednesday, July 13, 2011 3:21 PM
  • Hi Ran,

    I thought that customizing the language files will affect all the trunks.  Is that correct? 

    Thanks,

    Bill

    Wednesday, July 13, 2011 8:11 PM
  • Hi Bill,

    That was correct in the past, in IAG, but with UAG you can have customized language XML files per trunk, using the regular UAG standard for naming such customized files, for example: [trunkname][0or1]en-us.xml

    Regards,


    -Ran
    • Marked as answer by Erez Benari Friday, August 26, 2011 11:18 PM
    Thursday, July 14, 2011 5:26 AM