sec.samlEntityInsert( entity as element(md.EntityDescriptor) ) as (Number|String)
This function inserts a SAML entity into the Security database.