Uploaded image for project: 'OpenAM'
  1. OpenAM
  2. OPENAM-7966

hiddenValueBox not showed in DAS

    Details

    • Sprint:
      AM Sustaining Sprint 16
    • Support Ticket IDs:

      Description

      The callback hiddenValueBox is not printed when using DAS.

      Therefore, the Devide ID match can't work and worse, doesn't complain about this missing field.

      The problem is in the Login.jsp for DAS, the following is missing:

                                              <jato:content name="hiddenValueBox">
                                                  <input class="hiddenValueBox" type="hidden" name="<jato:text name="txtId" />" id="<jato:text name="txtId" />" value="<jato:text name="txtValue" />" />
                                              </jato:content>
      

      workaround:

      • Edit the file "config/auth/default/Login.jsp"
      • After the closing "<jato:content name="textBox">", add:
                                              <jato:content name="hiddenValueBox">
                                                  <input class="hiddenValueBox" type="hidden" name="<jato:text name="txtId" />" id="<jato:text name="txtId" />" value="<jato:text name="txtValue" />" />
                                              </jato:content>
      

      You should have :

                                              <jato:content name="textBox">
                                                  <div class="row">
                                                      <label for="IDToken<jato:text name="txtIndex" />">
                                                          <jato:text name="txtPrompt" defaultValue="User name:" escape="false" />
                                                          <jato:content name="isRequired">
                                                              <img src="<%= ServiceURI %>/images/required.gif" alt="Required Field"
                                                                   title="Required Field" width="7" height="14" />
                                                          </jato:content>
                                                      </label>
                                                      <input class="textbox" type="text" name="IDToken<jato:text name="txtIndex" />" id="IDToken<jato:text name="txtIndex" />" value="<jato:text name="txtValue" />" />
                                                  </div>
                                              </jato:content>
                                              <jato:content name="hiddenValueBox">
                                                  <input class="hiddenValueBox" type="hidden" name="<jato:text name="txtId" />" id="<jato:text name="txtId" />" value="<jato:text name="txtValue" />" />
                                              </jato:content>
                                              <jato:content name="password">
      

        Attachments

          Activity

            People

            • Assignee:
              quentin.castel Quentin CASTEL [X] (Inactive)
              Reporter:
              quentin.castel Quentin CASTEL [X] (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: