Skip to Main Content

Breadcrumb

Question and Answer

Connor McDonald

Thanks for the question, Dejan.

Asked: March 27, 2020 - 9:56 am UTC

Last updated: September 02, 2020 - 12:03 am UTC

Version: 12.1.0.2

Viewed 1000+ times

You Asked

Where in v$ views is hiding info about PROXY_USERNAME ?
I'am aware of little piece of information in v$session_connect_info and dbproxy_username column in unified_audit_trail.
Most appropriate place will be in v$session, but i didn't find it.

Regards Dejan


and Chris said...

DBA_PROXIES shows you details of the current proxy sessions:

create user u identified by u;
alter user chris grant connect through u;

conn u[chris]/u

select * from dba_proxies;

PROXY    CLIENT    AUTHENTICATION    AUTHORIZATION_CONSTRAINT               ROLE      PROXY_AUTHORITY   
U        CHRIS     NO                PROXY MAY ACTIVATE ALL CLIENT ROLES    <null>    DATABASE           

Rating

  (2 ratings)

Is this answer out of date? If it is, please let us know via a Comment

Comments

Active connected proxy sessions

A reader, March 27, 2020 - 10:47 am UTC

Thanks for prompt answer.
This is dictionary data of proxy users also available in dba_proxies, but I am searching this dbproxy_username info for currently connected sessions.

Regards dejan
Chris Saxon
March 27, 2020 - 4:58 pm UTC

Sorry, missed that. I'm not sure if that information is (easily) available. I'll ask around.

Active connected proxy sessions

A reader, September 01, 2020 - 9:36 am UTC

Is there anything new on active connected proxy sessions topic?

Regards Dejan
Connor McDonald
September 02, 2020 - 12:03 am UTC

I think the closest you can get is V$SESSION_CONNECT_INFO which will tell you that it is a proxy (AUTHENTICATION_TYPE)

More to Explore

Security

All of the vital components for a secure database are covered in the Security guide.