473,799 Members | 2,711 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

forwarding certificate from ASP.Net to Tomcat

Hi All,

I'm not sure if this is the right group to ask this question, but I'll give
it a try.

I'm currently developing a dotnet web app.
Using custom authentication like this:

objHttpContext. Response.Status = "401 Unauthorized";
objHttpContext. Response.AddHea der ("WWW-Authenticate", "Basic realm=
\"Resource Management System \", challenge#1");

Using this, I can get the username and pwd.

The problem I have is that our WebServices is running on Tomcat using Axis.
Since this webservice already exist before we started my dotnet project.

I created a proxy using wsdl utiltity.

I have a page that calls the proxy object when a button is click but I don't
know how to pass or forward the user credentials to the tomcat server.

In my page I call the object like this.

MyServiceServic e oo = new MyServiceServic e();
oo.doSomething( "parm");

I works fine if I ran it my localhost (both Tomcat on 8080 and IIS and
dotnet in 80).
But it not if the tomcat is running on the Unix server which requires Baisc
authentication (internal app)if you access any apps from this server.

Is there a way to forward my username and password automatically to the
tomcat server from my ASP.Net app? and How.

Alex


Nov 23 '05 #1
0 1833

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
3063
by: Joshua McCulloch | last post by:
I have setup Apache 2.0.47 on Windows XP to serve jsp/servlet requests using Tomcat 4.1.27. I did this using the mod_jk2 module and was able to successfully connect to http://host/examples and get the tomcat example pages. I'm using JDK 1.3.1-03. I then configured mod_deflate and was able to verify it works by telnet'ing to port 80 and giving it a request using "Accept-Encoding: gzip, deflate". I did this on both the main index.html file...
6
12156
by: DaiIchi | last post by:
I'm using Tomcat in standalone mode. When a URL without a filename is entered into the browser (ie. "http://myhost.mydomain.com"), and the default path does NOT have an index.html, but rather an index.jsp file, Tomcat response with an "HTTP/1.1 302 Moved Temporarily" and a "Location: http://myhost.mydomain.com/index.jsp" ... I was wondering if there is a configuration for tomcat that can stop this behavior, i.e., just run index.jsp?
0
6377
by: Oleg Konovalov | last post by:
Hi, I am trying to create 2 separate environments (dev and test) on one powerful Unix server which has 2 network cards, 2 IP addresses, 2 server names... Using Apache 2.0.43 and Tomcat 4.1.29/JBoss 3.0.7, mod_jk 2.0.43 on Solaris 9, Intranet environment. Everything is fine on the first instance, but on the second instance when I do http://server2,
1
425
by: Binod Nair | last post by:
Hi All, I have an ASP.NET appication running on http://xx.xxx.xxxx.xx/aspApplication and I have a domain http://www.mydomain.com registered at godaddy.com for this application.I have setup domain forwarding at goDaddy.com to forward to http://xx.xxx.xxxx.xx/aspApplication. I am using Forms Authentication on the application.Now the problem i am facing is , when i login to the application through http://xx.xxx.xxxx.xx/aspApplication...
4
11329
by: Matt Frame | last post by:
I am working on a special ASP.Net application that receives files from customers. The connection is made via HTTPS and the client sends the file as a POST to my ASP.Net listener. All of this works fine. Now I am looking at how to validate the clients certificate programmatically. The client application sends to me with something like: .... Dim myHttp As HttpWebRequest = CType(WebRequest.Create(https://myserver/Receive.aspx),...
6
1974
by: JIM.H. | last post by:
Hello, I am trying to create a certificate for our internet for our employees so that they can login to system from home. Do I have to go, for example, VeriSign to get a certificate? Can I create my own certificate and use it since it is not actually a public web site? Thanks,
1
2703
by: | last post by:
Hi, I'd like to store X509 cetificates in a central location (file server, database, etc), and load them when needed, is it practical ? and in term of implementation, can this be achieved by subclass 'securityTokenManager'? has anyone done something similar and shed some lights on it? thanks, -Jason
0
2610
by: ntech | last post by:
hello, i have a problem. i am using the tomcat server for java. my problem is that: i want to use the same tomcat server with client authentication having two certificate authorities. i have been able to use with only one certificate authority. now , i want to use two certificate authorities for two contexts of tomcat. so, can anyone help me in this matter. Thanks, Ntech
1
3156
by: Technext | last post by:
Hi, I am facing some problem with Apache to Tomcat forwarding. I have Tomcat (6.0.18) behind Apache (2.2). I want to use ‘https’ for receiving request from the client. This request, when forwarded by Apache to Tomcat, will use ‘http’. My application’s name is ‘abc’, which is deployed in Tomcat’s webapps dir. Both Tomcat & Apache are on the same machine. There is one more requirement: When a user just types the IP, it should, by default,...
0
9689
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10495
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10269
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10248
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10032
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9085
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7573
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5597
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
3
2942
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.