Questions tagged [usernametoken]
82 questions
2
votes
0 answers
WCF Connected Service for .NET Core with UsernameToken & PasswordDigest
WCF .Net Framework does not support UsernameToken with PasswordDigest but microsoft provides a sample project to achieve this :
https://blogs.msdn.microsoft.com/aszego/2010/06/24/usernametoken-profile-vs-wcf/
Does WCF Connected Service for .NET…

Akli
- 1,351
- 1
- 15
- 28
2
votes
0 answers
How to pass the UsernameToken in header of SOAP Webservice with prefix asp.net?
Here is my Security xml that i need to pass from the header:
NOTE: I got this xml from the SOAP UI.

Ryan Lintag
- 23
- 5
2
votes
2 answers
Encrypting username token with apache cxf
Greetings good people.
I have a soap web service that I want to consume.I have created a small project to simulate what is required in the actual project especially on the username token encryption.
There are steps provided on how to encrypt the…

chilopoda
- 71
- 2
- 8
2
votes
3 answers
Axis Webservice Header Security Password Text
I am new to security headers and I need your help. I can do axis webservices call with authentication, thats easy but struggling with security.
I have the following security header which is failing to authentic and i know it is becuase of the…

Ken
- 127
- 2
- 11
1
vote
1 answer
UsernameToken and SSL in WCF 4 web service
I am creating a web service that will be consumed by a single client in another part of the world. I don't have any knowledge or control over the technology they are using but have been asked to
"use SSL to encrypt the message during transport and…

barrylloyd
- 1,599
- 1
- 11
- 18
1
vote
0 answers
Rampart Axis2 multiple headers in request (error)
So, I am developing a web service using rampart and axis2 in eclipse. I am trying to implement a simple username/password authentication scheme, but I have some issues.
My code is basically working now, but in my SOAP request the is added 3 (!)…

Tor-Erik
- 11
- 1
- 4
1
vote
1 answer
Form field - username value is not being shown
I would like to use forms in Ruby on Rails and add current_user.username field as autocomplete. Currently I use the code, which does show the username, but after submitting the form, username does not go to the database and is not being presented in…

Rafal
- 11
- 3
1
vote
2 answers
Any sample with WIF + WCF for login / password validation?
There are many WIF examples for Asp.Net. However samples with WCFServiceLibrary are scarce.
Does anyone have an example with user credential of type username password?
I'd like to verify them via a CustomUserNameValidator which works on a view…

fabien
- 2,041
- 1
- 16
- 19
1
vote
0 answers
What is the best way to send usernametoken in header in soap request?
public async Task GetUserInfoAsync(){
TestClient client = new TestClient();
client.Endpoint.EndpointBehaviors.Add(new WsSecurityEndpointBehavior("test", "12345"));
client.GetUserInfo(new GetUserInfoRequest{
…

codinges
- 61
- 6
1
vote
1 answer
JAXWS Metro client for secured webservice with usernametoken profile
i want to consume a webservice that uses oasis style username token profile ( http://www.oasis-open.org/committees/download.php/16782/wss-v1.1-spec-os... ).
I was able to do it with CXF and Weblogic clients BUT iw woul like to use a pure Metro…

Cris
- 4,947
- 6
- 44
- 73
1
vote
1 answer
how to pass authentication in http:put method at run time?
I am running the below xqy code using a schedule task and in this xqy code, I am passing manually the value of authentication node with method="digest" username = admin password = admin in the put call,
Is there any way so that I can pass it at…

ravi
- 61
- 6
1
vote
2 answers
How to get Resulting Disgest with WS-UsernameToken?
I have the following documentation from the ONVIF's Programmer Guide
I'm currently trying to reproduce the Resulting Digest using the same entries given in the guide...
Here's my code:
private string GenerateHashedPassword(string nonce, string…

LoukMouk
- 503
- 9
- 29
1
vote
0 answers
WS-Security with usernametoken
I have a soap WS and need to add the WS-Security usernametoken. I have implemented server side a SoapHandler (annotating @HandlerChain(file="handler-chain.xml") the implementation class) that should parse the soapHeader looking for the username and…

DarkAngeL
- 419
- 2
- 5
- 17
1
vote
1 answer
how to add encryption to soap header using a username token profile in wcf
I have a working USername token profile working using WCF, I am trying to add support for encryption on the client call, the webservice is expecting an encrypted soap header. I installed a certificate in my Local store using MMC. In my c# code…

AZ49
- 11
- 1
- 2
1
vote
1 answer
get onlye name of string removing tags using regex mirc?
i'm trying to catch only the nickname of a usernames on mirc usign regex but i cant catch this is the data which i want take the username
and in involve this regex code:
/^\x3a(:?(\[\w+\])?(\[\s\w+\s\]?))\s?(\w+)/i
Here is on regexer: Regexer
I…

Erick ls
- 186
- 8