Questions tagged [usernametoken]

82 questions
1
vote
1 answer

Securing Web Service with UsernameToken profile 1.0 using Axis2 and Rampart

this is my first question in stack overflow. I'm not a expert java programmer but I have previous experience with the language and diffent IDEs. I have a scenario where a customer requires that from a given WSDl I create a service that must be…
A.Badia
  • 11
  • 6
1
vote
0 answers

How to set the creation time for the WSE 3.0 UsernameToken

I'm using the WSE 3.0 UsernameToken to communicate with a network camera. Due the time difference between my PC and the network camera I can't authenticate, the allowed time difference is +- 5 sec UTC time, my current difference is 59 minutes and 19…
pepOS
  • 335
  • 4
  • 22
1
vote
1 answer

How to generate UsernameToken for SOAP request?

I want to generate "UsernameToken-28FE7B32CCC1AB2B22141113557641136"> in Java in order to send a request to a SOAP web service. Using SoapUI and the request is easy, because it will autogenerate, but how can i do this in java? I am currently sending…
Dark Soul
  • 83
  • 5
  • 14
1
vote
0 answers

WSSecurity - Accept UsernameToken header without timestamps or wsu:created

I am relatively new to Webservice Security and I have a problem with security headers. I want my security header to be accepted like this:
Nizor
  • 85
  • 2
  • 9
1
vote
1 answer

UserNameToken in soap from Java

I am trying to use a gSoap-generated wsdl from Netbeans. The webservice requires that the UserNameToken be passed in. When I use the wsdl from SoapUI (which works), it sends this: myname
Yusuf
  • 119
  • 1
  • 2
  • 10
1
vote
2 answers

Implementing password digest for ws-security UsernameToken in Java

I am trying to make a call to a ws-security secured webservice from a server which unfortunately does not support this natively. The approach I have taken is to implement a .jsp which acts as reverse proxy to the actual end point URL, in the process…
Stian Sigvartsen
  • 29
  • 1
  • 1
  • 4
1
vote
1 answer

Android client for WCF wshttpbinding with username token

I'm trying to deploy an Android 3.0 client for a WCF WS-Security. The WCF WS implements username token as security access. I use KSOAP2 and I have no problem to access to a asmx service but when I try to make a call to a WCF WS the application…
0
votes
1 answer

UsernameToken and SSL in WCF 4 web service - but with basicHttpBinding

A few months ago I asked about UsernameToken and SSL in WCF 4 web service and received a good answer using wsHttpBinding. However now we have had to revert to using basicHttpBinding due to incompatibilities with a Java client. I've tried switching…
barrylloyd
  • 1,599
  • 1
  • 11
  • 18
0
votes
1 answer

How UserNamePasswordValidator reads username password from SOAP header?

I am using custom UserNamePasswordValidator for User Authentication. Following is the code and it works well. I want to understand how does does this method gets username and password from UserNameToken from SOAP header. public class…
Shetty
  • 1,792
  • 4
  • 22
  • 38
0
votes
1 answer

Web service client needs to add type attribute to password security header

I'm writing a .NET client (WCF) that will consume a web-service that is implemented using Apache CXF (Java) and amazingly enough it's incredibly hard have WCF to set the Type attribute of the Password tag to PasswordText. I.e I would like the SOAP…
Ola Theander
  • 495
  • 5
  • 19
0
votes
0 answers

Verify security header details of SOAP envelopes by a SOAP service using SOAP UI

Using SOAP UI, I am trying to build a SOAP service that supports web service securities. I used the Sample SOAP Project Core, to run the service from SOAP UI, and added UsernameToken security headers to the request. The SOAP request looks like…
Nuvindu Nirmana
  • 230
  • 1
  • 8
0
votes
1 answer

discord bot how can i get a username in nodejs

this is my code const Discord = require('discord.js'); const { prefix, token } = require('./config.json'); const client = new Discord.Client(); client.once('ready', () => { console.log('Ready!'); }); client.on('message', message => { if…
Tibor
  • 3
  • 3
0
votes
1 answer

How to add username and name columns to pandas dataframe with search_all_tweets lookup in python

I am trying to collect tweets from 2022 using Twitter API. I can record the tweet_fields for the tweets, but I can't figure out how to add columns for the username and name (the user_fields) for each tweet. I'm running the following code: import…
0
votes
1 answer

Insert data to Firebase and set restriction to UI(username and password) in xamarin form-UPDATE

My first post is here. I already explain my problem here and My output expected. Sir Guangyu Bai - MSFT commented my post, you check my post and scroll his answer. I apply his answer to my codes. The link is…
0
votes
0 answers

Robocopy to User path in which username contain backspace

I can't find the way to use the Robocopy command for path which has the username & the username has backspace I want to use a Robocopy command which will work in any profile name. If my username is John & the path of my username is C:\Users\John\…
Johnn78
  • 1
  • 1