docs: protected List<? extends UserAttribute> getExpectedUserAttributes(
              HttpServletRequest request, final IPortletWindow portletWindow) {
          final IPortletEntity portletEntity = portletWindow.getPortletEntity();
          final IPortletDefinition portletDefinition = portletEntity.getPortletDefinition();
          final PortletApplicationDefinition portletApplicationDescriptor =
                  this.portletDefinitionRegistry.getParentPortletApplicationDescriptor(
                          portletDefinition.getPortletDefinitionId());
  
          return portletApplicationDescriptor.getUserAttributes();
      }