0 Replies Latest reply on Feb 3, 2010 8:02 AM by Janardan N

    how to change the input user name

    Janardan N Newbie

      Hi,

       

      My users log in to the portal with user name as "<DOMAIN>\<username>".

      From this, i need to extract <username>.

       

      I wrote a custom login module by extending SynchronizingLDAPExtLoginModule.

      I overrided the method getUsernameAndPassword().

      super.getUsernameAndPassword(), will return an array of username and password.

       

      i am manipulating this <username> and am returning.

       

      But this is not working properly...(not setting the principal in the session).

       

      Any help will be highly grateful

       

       

      Thanks and Regards,

      Janardan