Customizing the nidp_latest.jsp file

The nidp_latest.jsp file provides the default layout for Identity Server authentication pages. This section provides the details of the concepts that the implementation addresses to populate the different layout components on the page. With this understanding, a developer can identify sections of the implementation that address each concept.

The following are main concepts throughout the nidp_latest.jsp implementation:

  • Authentication methods (cards) to be displayed

  • URL to be used for populating the Content Area (<div id="theNidpContent">)

  • The end user messages to be displayed

You can query Identity Server to get the required data. The access point into Identity Server internal data structures is the ContentHandler Java class.

The following line, found at the top of nidp_latest.jsp, represents a new ContentHandler and initializes it for the current HTTP request and response:

ContentHandler handler = new ContentHandler(request,response);

NOTE:The handler variable is used throughout the Identity Server code.