How To Use A Different Subject In Session Listener?

(Doc ID 1356568.1)

Last updated on APRIL 14, 2018

Applies to:

Oracle Weblogic Server - Version: 10.3 and later   [Release: 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?


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms