Unable to Retrieve Custom Principals from JAAS Authenticated User

(Doc ID 331941.1)

Last updated on DECEMBER 05, 2016

Applies to:

Oracle Containers for J2EE - Version to [Release AS10g to AS10gR2]
Information in this document applies to any platform.
This problem can occur on any platform.

***Checked for relevance on 22-May-2013***


Unable to retrieve Custom Principals added by a Custom Login Module during the process of authenticating:

+ Custom login module is adding principals to the authenticated subject
+ From servlet code, request.getUserPrincipal().getName() does not return the name of the custom principal , but the name of the authenticated user.


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