You can use the client_identifier session variable to pass an application user to a trigger.
Set it after connecting to the database like this:
CALL dbms_session.set_identifier('<<username>>');
and retrieve it inside the trigger:
SELECT sys_context('USERENV','CLIENT_IDENTIFIER') INTO username FROM DUAL;
More info can be found in the Oracle docs
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…