/*
 * $Revision$
 * $Id$
 */

_FAC_MODULE('AUT','lcl_module_AUT')

INSERT INTO aut_idp
       (aut_idp_code, aut_idp_type, aut_idp_algorithm,
        aut_idp_omschrijving, aut_idp_opmerking,
        aut_idp_secret, aut_idp_audience, aut_idp_issuer, aut_idp_clockskew)
 VALUES ('_INTERNAL', 4, 'HS256',
         'Internal use', 'Internal use only. Do not modify',
         DBMS_RANDOM.string('a', 32), 'internal.facilitor.nl', 'internal.facilitor.nl', 30
        );

INSERT INTO aut_idp_map
    (aut_idp_key, aut_idp_map_from, aut_idp_map_to, aut_idp_map_identify)
 SELECT aut_idp_key, 'perslid_key', 99, 1
   FROM aut_idp
  WHERE aut_idp_code = '_INTERNAL';

REGISTERONCE('$Id$')

