My Oracle Support Banner

How To Use A Different Subject In Session Listener? (Doc ID 1356568.1)

Last updated on AUGUST 30, 2021

Applies to:

Oracle WebLogic Server - Version 10.3 and later
Information in this document applies to any platform.


When trying to get JDBC connection from session listener, the datasource has resource security policies configured on it, only allows certain users to access.

The problem is session listener’s running using the current authenticated user's subject, which doesn’t have a proper subject to access the datasource.

Is there a way to work around this?


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.