Loading ...
Sorry, an error occurred while loading the content.

Re: [mp2] Can't change AuthName

Expand Messages
  • Maxim Nechaev
    Maybe, i use wrong handler to change AuthName? Maxim Nechaev -- Report problems: http://perl.apache.org/bugs/ Mail list info:
    Message 1 of 6 , Dec 3, 2004
    • 0 Attachment
      Maybe, i use wrong handler to change AuthName?

      Maxim Nechaev


      --
      Report problems: http://perl.apache.org/bugs/
      Mail list info: http://perl.apache.org/maillist/modperl.html
      List etiquette: http://perl.apache.org/maillist/email-etiquette.html
    • Geoffrey Young
      ... you should be able to change it from anywhere I d think, especially prior to authentication and via the insertion mechanism. make sure that you can run the
      Message 2 of 6 , Dec 4, 2004
      • 0 Attachment
        Maxim Nechaev wrote:
        > Maybe, i use wrong handler to change AuthName?

        you should be able to change it from anywhere I'd think, especially prior to
        authentication and via the insertion mechanism.

        make sure that you can run the test that exercises $r->auth_name from the
        mod_perl test suite

        $ t/TEST t/api/access.t -v

        if that passes you can use the code and configuration there to get you started.

        HTH

        --Geoff

        --
        Report problems: http://perl.apache.org/bugs/
        Mail list info: http://perl.apache.org/maillist/modperl.html
        List etiquette: http://perl.apache.org/maillist/email-etiquette.html
      • Maxim Nechaev
        GY $ t/TEST t/api/access.t -v This gives: ..... # testing : auth_name # expected: modperl # received: modperl ok 6 # testing : auth_name # expected:
        Message 3 of 6 , Dec 5, 2004
        • 0 Attachment
          GY> $ t/TEST t/api/access.t -v

          This gives:
          .....

          # testing : auth_name
          # expected: modperl
          # received: modperl
          ok 6
          # testing : auth_name
          # expected: modperl_test
          # received: modperl_test
          ok 7

          .....

          In my code i can change "auth_name()" from Response handler easy, but
          can't do this from Authen handler.
          Is this error? Need bug report?


          Maxim Nechaev


          --
          Report problems: http://perl.apache.org/bugs/
          Mail list info: http://perl.apache.org/maillist/modperl.html
          List etiquette: http://perl.apache.org/maillist/email-etiquette.html
        Your message has been successfully submitted and would be delivered to recipients shortly.