IBM Verify

 View Only
Expand all | Collapse all

How can I change the values of IBM Verify Access built-in macros for reverse proxy templates

  • 1.  How can I change the values of IBM Verify Access built-in macros for reverse proxy templates

    Posted Fri January 10, 2025 04:15 PM

    The IBM Verify Access appliance has a bunch of templates that are built with macros.  For example, below is a snippet from the reverse proxy template file certlogin.html.  

    How do I change the value of these macros?  The default value of %MSG{0x38983737}% seems to be "Application Gateway". It would be great if I could change that value in one place rather than having to go through all the template files and replace the macro with something else.

    <html lang="%LANGUAGE%">
      <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
        <title>%MSG{0x38983737}%%MSG{0x3898370e}% %MSG{0x3898370a}%</title>
        <link href="%PKMSPUBLIC%default.css" rel="stylesheet" type="text/css"></link>
      </head>
      <body>
        <div class="content" role="main">
          <script type="text/javascript" src="%PKMSPUBLIC%cookie_check.js"></script>
          <noscript>
            <b>%MSG{0x3898370b}%MSG{0x3898370e}%</b>%MSG{0x3898370c}%
          </noscript>
          <!-- END Cookie check block -->

          <div class="message-container">
            <h2>%MSG{0x38983737}%</h2>



    ------------------------------
    James Smith
    ------------------------------


  • 2.  RE: How can I change the values of IBM Verify Access built-in macros for reverse proxy templates

    Posted Sun January 12, 2025 03:58 PM

    James,

     

    I think that you are asking whether it is possible to change the value of the '%MSG{0x38983737}%' macro so that you can modify the message once and have it applied across all of the template files which reference this macro?

     

    Unfortunately this is not possible because that particular macro corresponds to a translated message string which is fixed within WebSEAL. 

     

    If you are interested in making a mass change to multiple files it would probably be best to script it up.

     

    I hope that this helps.

     

    Scott A. Exton
    Senior Software Engineer
    Chief Programmer - IBM Security Verify Access

    IBM Master Inventor

    cid4122760825*<a href=image002.png@01D85F83.85516C50">