Show TOC Start of Content Area

Background documentation Changing the Logon Screen  Locate the document in its SAP Library structure

For a customized logon screen, you must implement an iView. This section describes, which fields you must define in the user interface and how to set the properties for the iView.

Prerequisites

You should be familiar with the following services and tools:

·        Java Authentication and Authorization Service (JAAS).

Documentation for the JAAS service can be found on the Sun Microsystems Inc. Java developer network site.

For more information, see Create and Configure a Login Module.

      Experience with the Java programming language.

      Basic concepts of the SAP Enterprise Portal, iViews and authentication schemes.

Necessary HTML - Form Parameters

The customized login screen has to follow certain rules in naming the form and input fields.

Following rules apply to the customized logon screen:

The input field for the user name must have the name j_user.

·        The input field for the password must have the name j_password.

·        The hidden input field login_submit has to be set to true (=1) to tell the portal that a logon takes place.

To use another authscheme than default, the customized authscheme that refers to the name in the authschemes.xml file, has to be provided in the hidden input field j_authscheme.

Below is an example of the standard logon page, using the default authscheme.

Example

<FORM name="logonForm" method="post" action=" /irj/servlet/prt/portal
            /prtroot/com.sap.portal.navigation.portallauncher.default">
  <input name=
"login_submit" type="hidden" value="on">
  <input type=
"hidden" name="login_do_redirect" value="1" />
  <input name=
"j_authscheme" type="hidden" value="default">
  <table border=
"0" align="left" valign="top">
    <tr>
      <td > 
          
User Id
      
</td>
      <td width=
"183" height="20">
        <input name=
"j_user" type="text" value="">
      </td>
    </tr>
    <tr>
      <td width=
"161" height="20">
          
Password
        
</label>
      </td>
      <td width=
"183" height="20">
        <input name=
"j_password" type="password">
      </td>
    </tr>
    <tr>
      <td colspan=
"2" height="20">&nbsp; </td>
    </tr>
    <tr>
      <td colspan=
"2">
        <input value=
"Log on">
      </td>
    </tr>    
  </table>
</form>

 

 

End of Content Area