The following example creates a DEFINER authorization object with the name sales_processing for the user name salesmng and the user password mysecret.
CREATE AUTHORIZATION sales_processing AS DEFINER USER 'salesmng' PASSWORD 'mysecret';
The database uses this OS platform user context to execute all external routines that contain an EXTERNAL SECURITY DEFINER clause when run under the same OS user authorization independent of the user who runs the routine.