title: Set attributes from a custom LoginHandler
body: <p>I developed a LoginHandler for Shibboleth and I need to set some attributes so Shibboleth can put them on a SAMLResponse. </p>
  
  <p>I am being able only to set the PrincipalName, using <code>HttpServletRequest.setAttribute(LoginHandler.PRINCIPAL_NAME_KEY, value)</code>, but I can not set other attributes that the SP needs (like uid, NameID).</p>
  
  <p>How can it be done?</p>