Unable to Retrieve User Attributes from a Custom WebCenter Portal Application - (Map)request.getAttribute(javax.portlet.PortletRequest.USER_INFO) returns NULL (Doc ID 1591632.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle WebCenter Portal - Version 11.1.1.6.0 to 11.1.1.8.1 [Release 11g]
Information in this document applies to any platform.

Symptoms


Unable to retrieve user attributes from a Custom WebCenter Portal Application using request.getAttribute.
This call returns NULL:

  Map userAttribs =
  (Map)request.getAttribute(javax.portlet.PortletRequest.USER_INFO);

 

This works fine from WebCenter Spaces.

The Portlets adhere to the JSR 286 Portlet Specification 2.0 here:
  http://download.oracle.com/otndocs/jcp/portlet-2.0-fr-oth-JSpec/



Cause

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