0 Replies Latest reply on Jul 19, 2010 6:07 AM by cristiboariu

    Basic Authentication - get url?

    cristiboariu

      Hi guys,
      I have defined a basic http authentication in my components:




      <web:authentication-filter url-pattern="/resource/rest/*" auth-type="digest"/>
       <security:identity authenticate-method="#{basicAuthenticator.login()}"/>



      Well...I strongly need to get the url from the user in my login method.
      FacesContext is not loaded at this point (is null) so is there any other way
      to do that? I'm struggling for hours but can't find a solution...


      Thanks in advance.