Sun Identity Manager 8.1 System Administrator's Guide

To Debug LoginConfig Changes

To debug LoginConfig-related changes to your adapter, you must

  1. Enable trace for the selected files and trace the following classes at Method/Class Level 1 trace:

    • com.waveset.security.authn.WSResourceLoginModule

    • com.waveset.session.LocalSession

    • com.waveset.session.SessionFactory

    • com.waveset.ui.LoginHelper

    • com.waveset.ui.web.common.ContinueLoginForm

    • com.waveset.ui.web.common.LoginForm

  2. Test Single Sign-On (SSO) pass-through authentication login through Telnet as follows:

    1. After correctly configuring the SSO login module, telnet directly to the HTTP port and send an HTTP request to login.jsp.

    2. Paste the following request, which contains an SSO login module that looks for the sm_user HTTP header, into your telnet session:


      HEAD /idm/login.jsp HTTP/1.0
      Accept: text/plain,text/html,*/*
      Accept-Language: en-us
      Accept-Encoding: gzip, deflate
      User-Agent: Mozilla/4.0
      Host: LOCALHOST
      sm_user: Configurator

      A trace displays to indicate that your user has logged in correctly. For example:


      2003.07.08 14:14:16.837 Thread-7 
      WSResourceLoginModule#checkForAuthenticatedResourceInfo()
      Found authenticated resource accountId, ’Configurator@Netegrity 
      SiteMinder’on Identity Manager user ’Configurator’. 
      null null 2003.07.08 14:14:16.837 
      Thread-7 WSResourceLoginModule#checkForAuthenticatedResourceInfo()
      Exit null null 2003.07.08 14:14:16.837 Thread-7 WSResourceLoginModule#login()
      Exit, return code = true null null 2003.07.08 14:14:16.847
      Thread-7 LocalSession#login() Login succeeded via Netegrity SiteMinder 
      null null 2003.07.08 14:14:16.847 Thread-7 LocalSession#login() 
      Overall authentication succeeded null null 2003.07.08 14:14:16.897 Thread-7 
      LocalSession#checkIfUserDisabled() 
      Entry null null 2003.07.08 14:14:16.897 Thread-7 
      LocalSession#checkIfUserDisabled() Exit 
      null null 2003.07.08 14:14:16.927 Thread-7 LocalSession#login() 
      Exit null null