private static void buildModuleInstanceTable(SSOToken token,String realm){
  try {
    if (DEBUG.messageEnabled()) {
      DEBUG.message("AMAuthenticationManager." + "buildModuleInstanceTable: realm = " + realm);
    }
    for (    String service : MODULE_SERVICE_NAMES.values()) {
      buildModuleInstanceForService(realm,service);
    }
  }
 catch (  Exception e) {
    if (DEBUG.messageEnabled()) {
      DEBUG.message("building module instance table error",e);
    }
  }
}

private static void buildModuleInstanceTable ( SSOToken token , String realm ) { try { if ( DEBUG . messageEnabled ( ) ) { DEBUG . message ( "AMAuthenticationManager." + "buildModuleInstanceTable: realm = " + realm ) ; } for ( String service : MODULE_SERVICE_NAMES . values ( ) ) { buildModuleInstanceForService ( realm , service ) ; } } catch ( Exception e ) { if ( DEBUG . messageEnabled ( ) ) { DEBUG . message ( "building module instance table error" , e ) ; } } }
build the module instance table for the realm . format of this table : table : key = realm , value = module map for the realm . module map for the realm : key = module type , value = set of module instances
