code: public PreAuthenticatedGrantedAuthoritiesPortletAuthenticationDetails buildDetails(PortletRequest context) {
  
          Collection<? extends GrantedAuthority> userGas = buildGrantedAuthorities(context);
  
          PreAuthenticatedGrantedAuthoritiesPortletAuthenticationDetails result =
                  new PreAuthenticatedGrantedAuthoritiesPortletAuthenticationDetails(context, userGas);
  
          return result;
      }
docs: Builds the authentication details object.
  
  @see org.springframework.security.authentication.AuthenticationDetailsSource#buildDetails(Object)
  @param context a {@link javax.portlet.PortletRequest} object.
  @return a {@link org.jasig.springframework.security.portlet.authentication.PreAuthenticatedGrantedAuthoritiesPortletAuthenticationDetails} object.