you can choose using a password or package, query v$session and check for program, if substr(prigram) is such then set role otherwise return