code: protected Collection<? extends GrantedAuthority> buildGrantedAuthorities(PortletRequest context) {
          Collection<String> portletUserRoles = getUserRoles(context);
          Collection<? extends GrantedAuthority> userGas = portletUserRoles2GrantedAuthoritiesMapper.getGrantedAuthorities(portletUserRoles);
  
          if (logger.isDebugEnabled()) {
              logger.debug("Portlet roles [" + portletUserRoles + "] mapped to Granted Authorities: [" + userGas + "]");
          }
          return userGas;
      }
docs: <p>buildGrantedAuthorities.</p>
  
  @param context a {@link javax.portlet.PortletRequest} object.
  @return a {@link java.util.Collection} object.