Windows domain in username

View: New views
3 Messages — Rating Filter:   Alert me  

Windows domain in username

by chris_ :: Rate this Message:

| View Threaded | Show Only this Message

Hi,

I am trying to add a maven 2.0.x project but have not figured out how to specify a username that must contain the windows domain. Below are the settings that I think should work:

Add Maven 2.0+ Project
POM Url: http://myserver:8080/svn/my_code/my_project/trunk/pom.xml
Username: mydomain\myusername
Password: x

The message I see in the web browser is:

The specified resource cannot be accessed. Please try again later or contact your administrator.

And the logs:

jvm 1    | 2007-11-01 14:33:44,194 [SocketListener0-1] INFO  org.codehaus.plexus.action.Action:create-projects-from-metadata  - checking for settings auth setup
jvm 1    | 2007-11-01 14:33:44,319 [SocketListener0-1] INFO  org.apache.maven.continuum.project.builder.ContinuumProjectBuilder:maven-two-builder  - Downloading http://myserver:8080/svn/my_code/my_project/trunk/pom.xml
jvm 1    | 2007-11-01 14:33:44,381 [SocketListener0-1] INFO  org.apache.maven.continuum.project.builder.ContinuumProjectBuilder:maven-two-builder  - Error adding project: Unknown error downloading from http://myserver:8080/svn/my_code/my_project/trunk/pom.xml
jvm 1    | java.io.IOException: Server returned HTTP response code: 403 for URL: http://myserver:8080/svn/my_code/my_project/trunk/pom.xml
jvm 1    |      at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1174)
jvm 1    |      at org.apache.maven.continuum.project.builder.AbstractContinuumProjectBuilder.createMetadataFile(AbstractContinuumProjectBuilder.java:57)

If I go directly to the URL in IE/Firefox I am prompted for my username/password. I enter my username with windows domain (mydomain\myusername) in the prompt and am able to view the pom file. Is there a special format for specifying a windows domain with the username on the Add Maven 2.0+ Project page?

Thanks,
Chris


Re: Windows domain in username

by Emmanuel Venisse :: Rate this Message:

| View Threaded | Show Only this Message

Is it a basic authentication?

Emmanuel

chris_ a écrit :

> Hi,
>
> I am trying to add a maven 2.0.x project but have not figured out how to
> specify a username that must contain the windows domain. Below are the
> settings that I think should work:
>
> Add Maven 2.0+ Project
> POM Url: http://myserver:8080/svn/my_code/my_project/trunk/pom.xml
> Username: mydomain\myusername
> Password: x
>
> The message I see in the web browser is:
>
> The specified resource cannot be accessed. Please try again later or contact
> your administrator.
>
> And the logs:
>
> jvm 1    | 2007-11-01 14:33:44,194 [SocketListener0-1] INFO
> org.codehaus.plexus.action.Action:create-projects-from-metadata  - checking
> for settings auth setup
> jvm 1    | 2007-11-01 14:33:44,319 [SocketListener0-1] INFO
> org.apache.maven.continuum.project.builder.ContinuumProjectBuilder:maven-two-builder
> - Downloading http://myserver:8080/svn/my_code/my_project/trunk/pom.xml
> jvm 1    | 2007-11-01 14:33:44,381 [SocketListener0-1] INFO
> org.apache.maven.continuum.project.builder.ContinuumProjectBuilder:maven-two-builder
> - Error adding project: Unknown error downloading from
> http://myserver:8080/svn/my_code/my_project/trunk/pom.xml
> jvm 1    | java.io.IOException: Server returned HTTP response code: 403 for
> URL: http://myserver:8080/svn/my_code/my_project/trunk/pom.xml
> jvm 1    |      at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1174)
> jvm 1    |      at
> org.apache.maven.continuum.project.builder.AbstractContinuumProjectBuilder.createMetadataFile(AbstractContinuumProjectBuilder.java:57)
>
> If I go directly to the URL in IE/Firefox I am prompted for my
> username/password. I enter my username with windows domain
> (mydomain\myusername) in the prompt and am able to view the pom file. Is
> there a special format for specifying a windows domain with the username on
> the Add Maven 2.0+ Project page?
>
> Thanks,
> Chris
>
>


Re: Windows domain in username

by chris_ :: Rate this Message:

| View Threaded | Show Only this Message

It is not basic authentication. Here are the details on the svn/apache server I am trying to connect to:

Apache/2.0.55 (Win32) SVN/1.3.0 DAV/2 mod_auth_sspi/1.0.3 Server at myserver Port 8080

Thanks,
Chris


Emmanuel Venisse wrote:
Is it a basic authentication?

Emmanuel

chris_ a écrit :
> Hi,
>
> I am trying to add a maven 2.0.x project but have not figured out how to
> specify a username that must contain the windows domain. Below are the
> settings that I think should work:
>
> Add Maven 2.0+ Project
> POM Url: http://myserver:8080/svn/my_code/my_project/trunk/pom.xml
> Username: mydomain\myusername
> Password: x
>
> The message I see in the web browser is:
>
> The specified resource cannot be accessed. Please try again later or contact
> your administrator.
>
> And the logs:
>
> jvm 1    | 2007-11-01 14:33:44,194 [SocketListener0-1] INFO
> org.codehaus.plexus.action.Action:create-projects-from-metadata  - checking
> for settings auth setup
> jvm 1    | 2007-11-01 14:33:44,319 [SocketListener0-1] INFO
> org.apache.maven.continuum.project.builder.ContinuumProjectBuilder:maven-two-builder
> - Downloading http://myserver:8080/svn/my_code/my_project/trunk/pom.xml
> jvm 1    | 2007-11-01 14:33:44,381 [SocketListener0-1] INFO
> org.apache.maven.continuum.project.builder.ContinuumProjectBuilder:maven-two-builder
> - Error adding project: Unknown error downloading from
> http://myserver:8080/svn/my_code/my_project/trunk/pom.xml
> jvm 1    | java.io.IOException: Server returned HTTP response code: 403 for
> URL: http://myserver:8080/svn/my_code/my_project/trunk/pom.xml
> jvm 1    |      at
> sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1174)
> jvm 1    |      at
> org.apache.maven.continuum.project.builder.AbstractContinuumProjectBuilder.createMetadataFile(AbstractContinuumProjectBuilder.java:57)
>
> If I go directly to the URL in IE/Firefox I am prompted for my
> username/password. I enter my username with windows domain
> (mydomain\myusername) in the prompt and am able to view the pom file. Is
> there a special format for specifying a windows domain with the username on
> the Add Maven 2.0+ Project page?
>
> Thanks,
> Chris
>
>