why need to login

Former SVN Browser
mcheung63
Posts: 1
Joined: Fri Oct 10, 2008 2:02 am

why need to login

Postby mcheung63 » Fri Oct 10, 2008 2:10 am

Hi all
I have set BasicAuth to false and I already setup the username and password in web.xml.
Why it needs me to login?

thanks
from Peter (cmk128@hotmail.com)

cj91
Posts: 4
Joined: Fri May 23, 2008 4:55 pm

Re: why need to login

Postby cj91 » Mon Oct 13, 2008 2:49 pm

This requires a code change... If you scroll down in the forum topic list, I posted about this already.


Here is my changes to CredentialManager.java:

Code: Select all

 if (credentials == null) {
            if (ConfigurationProvider.getInstance().isAnonymousOnlyMode()){
               username = ConfigurationProvider.getInstance().getUsername();
               password = ConfigurationProvider.getInstance().getPassword();
            } else
           //BasicAuth mode
            if (ConfigurationProvider.getInstance().isBasicAuth() && this.isBasicAuthentication(request)) {
               UserCredentials basicCredentials = this.getBasicAuthenticationCredentials(request);
               username = basicCredentials.getUsername();
               password = basicCredentials.getPassword();
            } else {
                username = requestHandler.getUsername();
                password = requestHandler.getPassword();
            }
           


Return to “Polarion SVN Web Client”

Who is online

Users browsing this forum: No registered users and 3 guests