Authentication « axis « Java Enterprise Q&A





1. How to do Basic Authentication with an Axis2 ADB Client?    stackoverflow.com

Hey I'm trying to figure out how to do Basic Authentication with an ADB Axis2 version 1.5 Client. I'm trying the following:

    HttpTransportProperties.Authenticator basicAuth = new HttpTransportProperties.Authenticator();
   ...

2. Apache Axis2 1.5.1 and NTLM Authentication    stackoverflow.com

I've browsed all of the discussions here on StackOverflow regarding NTLM and Java, and I can't seem to find the answer. I'll try and be much more specific. Here's some code ...

3. Best practicies to organize Authentication with Axis2    stackoverflow.com

We need to build a number of web servics with axis2. And for each of them we need an authorization and authentication mechanisms. Is there some common methods or specifications how to ...

4. How to authenticate by user name and password in an Axis2 WebService?    stackoverflow.com

I've build a webservice via Axis2 in Java and uploaded it on the server. everything is ok and it works like fine. but I haven't considered any authentication method for that. ...

5. axis2 client NTLM authentication    stackoverflow.com

I have an axis2 (v1.5.3) client that needs to do Kerberos/NTLM authentication with IIS. How can I do this? This is the code I have right now and it fails with ...

6. Authentication thru Axis: Plz help    coderanch.com

Hello ppl, I am using Axis as the web service engine. I have got a custom authentication handler. It authenticates the incoming message very well. My problem is that the generated wsdl has no mention of header elements at all. HOW DO I ACHIEVE THIS? Do I need to configure the deployment descriptor a little bit more? Please help. Thanks in ...

7. Can Axis clients do NTLM authentication ?    coderanch.com

Hi, I'd greatly appreciate it if anyone could provide a hint to the following. We need to generate a *Client* to an existing web service, using Axis. Can the Axis client authenticate itself with microsoft NTLM (NT Challenge/Response) ? Yeah, I know it's a bad approach, but it's a political decision beyond our control. Thank you very much.

8. Axis client - fails to authenticate    coderanch.com

Hi, I have developed an axis client that works over https. Now the customer wants the client to authenticate itself. This is not working. Here is what I have done. Generated a self signed certificate using JDK/keytool. Had the customer import this certificate into their server trust store. Imported the same certificate into the clients keystore. When I invoke the webservice ...

9. How to configure Axis stubs for Integrated Windows Authentication ?    coderanch.com

Hi All, I am trying to consume a web service on https and it uses .NET with Integrated Windows Authentication Security Mechanism. When I type the web service endpoint address in browser I am prompted for a login dialog and I login using username (in the format \\ and password given by the web service provider. Now I have generated ...





11. Axis + WSS4J, one time authentication?    coderanch.com

Hi folks, I'm somewhat new to web services and particularly WSS4J and I'm having a problem with an implementation. It's probably best if I first explain what I'm attempting to do: A user will supply a username and password, and this will be authenticated on the web service server. However once authenticated I want the web service to supply what is ...

12. Axis2 username/password Authentication    coderanch.com

Hi folks, Does anyone know how to set up handlers and apply a username/password header to a SOAP message using an Axis2 based client? For instance in Axis 1 I can do the following: Service service = new Service(); Call call = (Call) service.createCall(); call.setClientHandlers(new WSDoAllSender(),null ); call.setProperty(WSHandlerConstants.ACTION, "UsernameToken"); call.setProperty(WSHandlerConstants.USER,user.getUserName() ); call.setProperty(WSHandlerConstants.PW_CALLBACK_CLASS,"serviceAccess.DIIPWCallback"); call.setProperty("password", user.getUserPassword()); call.setTargetEndpointAddress("http://localhost:8080/axis/services/WebService"); call.setOperationStyle(Style.RPC); .. etc .. call.invoke ... ...

13. New article: Web Services Authentication with Axis 2    coderanch.com

Firstly: I hate the name Axis2. Axis2 1.3 is as bad as Java2 1.5, stupid marketing. I had a similar discussion a while ago on just this topic, and the suggestion I was given was almost exactly the same: use the inflow/outflow model to parse the security header and NOT to include the security in the WSDL definition. Why are you ...

14. axi2/java and axis2/c adb authentication    coderanch.com

Hi, I have an existing project that uses axis2/c 1.4 at the client side and axis2/java 1.4 at the server side. We made use of the adb support in both the client and server side. It works fine. Now we would like to add authentication to it. So I performed the following steps: 1. copied the rampart-1.3.mar files downloaded from axis2/java ...

15. Axis2 BASIC AUTHENTICATION    coderanch.com

Hi, I am using axi2 1.4 for generate java client code from WSDL. The service that i want use is a .net service. IIS basic AUTHENTICATION property is active, so i must authenticate before call the service method. Code: HttpTransportProperties.Authenticator basicAuth = new HttpTransportProper ties.Authenticator(); basicAuth.setUsername(user); basicAuth.setPassword(password) ; Options options = new Options(); options.setProperty ( org.apache.axis2. transport. http.HTTPConstants.AUTHENTICATE, basicAuth); SessionServiceStub binding ...

16. axis2 ntlm authentication - No credentials available for NTLM    coderanch.com

I read about 100 posts on this error today and no one seems to have solved it. Not sure if this is a bug in axis2. Has anyone solved this common problem? In axis1, this problem was solved by using the client-config.wsdd config file to override the transport name to be org.apache.axis.transport.http.CommonsHTTPSender. I don't think that axis2 has a corresponding wsdd ...