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

A method in Node to Customise the Page Header

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: trees
    • Labels:
    • Support Ticket IDs:

      Description

      Previously to change the page header from authentication module, there is 2 ways to change them

      Method 1 : Edit xml file

      E.g: Edit DataStore.xml to change the header:

      <ModuleProperties moduleName="DataStore" version="1.0" >
      <Callbacks length="2" order="1" timeout="120" header="Sign in to OpenAM top level realm" >
      <NameCallback>
      <Prompt>Your Username:</Prompt>
      </NameCallback>
      <PasswordCallback echoPassword="false" >
      <Prompt>Your Password:</Prompt>
      </PasswordCallback>
      </Callbacks>
      </ModuleProperties>
      

       

      Method 2 : Using substituteHeader(state, header) method to change page header

       

      However, current authentication node does not have an API method that provide similar functionality of substituteHeader() to customize the page header. Hence, it would be good to have a method to change the page header for authentication node.

       

       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                wanning.tan WanNing Tan
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated: