Questions tagged [usernametoken]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
0 answers
16 views

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 ...
Nuvindu Nirmana's user avatar
-2 votes
1 answer
85 views

Github Username and Email finding

I am very interested to know, **how to find someone github account or github username using Email? Also, How to find someone Email address using username?** Please help me, I have tried to find out ...
Anuara begum Lipi's user avatar
0 votes
1 answer
115 views

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!'...
Tibor's user avatar
  • 3
0 votes
1 answer
77 views

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 ...
aoden's user avatar
  • 1
0 votes
1 answer
94 views

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 ...
Newbie _XamForm's user avatar
2 votes
2 answers
763 views

@username Regular Expression for social media with JavaScript

I am relatively new to using Regular Expressions with JavaScript and come across a particular situation with regards to the '@' username pattern that has given me about 3 hours of trouble. I would ...
ninnjak's user avatar
  • 99
-2 votes
1 answer
50 views

How to determine if a username is correct? [closed]

I need to determine if a username in the form of an email ([email protected]) is in the correct form. The necessary parameters for the username being correct are as follows: there is something ...
user avatar
1 vote
1 answer
36 views

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 ...
Rafal's user avatar
  • 11
0 votes
1 answer
25 views

show PW in mySQL DB or create new user

I'm working on a project, continuing a work of somebody else I need to have user name and PW for the update I want to make I can access database it is a MYSQL database. I can see user names but I can'...
user3703199's user avatar
1 vote
0 answers
785 views

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")); ...
codinges's user avatar
0 votes
1 answer
466 views

User Name of document using VBA

I tried to find the user name of the word document using VBA and tried to compare it with Author of the specified comment, If they are same notify me else no. I have written code which is as Dim ...
Atul Garg's user avatar
2 votes
2 answers
5k views

Unable to login to GitHub account even with correct credentials

enter image description here I am unable to login to my GitHub account even with the correct username and password. They keeps telling me that username or password is not correct while it is the ...
Ukeme Elijah's user avatar
0 votes
1 answer
816 views

ONVIF WS-UsernameToken password validation

I am trying to send an ONVIF PTZ soap message to get the status of the camera as a simple test. I am also trying to keep this pure JavaScript. I can't use Node.js because the rest of the application ...
Joe McCay's user avatar
-1 votes
2 answers
33 views

Only view uername

I want to view this code only with USERNAME, however the public display name taking over. how to only display USERNAME? function display_current_user_display_name () { $user = wp_get_current_user()...
Ann Jye's user avatar
0 votes
1 answer
326 views

How do i Get the first and second letter of a username in Django <div> {{Post.author.username.0} } </div>

I want to display images according to the user's first and second letter from the username  instead of an image with rounded corners. But <div> {{Post.author.username.0} } </div> Returns ...
Jude Iloeh's user avatar
1 vote
1 answer
157 views

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 ...
ravi's user avatar
  • 61
0 votes
1 answer
1k views

How to create a SOAP API request with UsernameToken in JAVA?

My program is running in a server and needs to make a client side call to a SOAP API using Java. I used SOUPUI to generate a client stub code for the API service WSDL by JAX-WS Artifacts. The API ...
tim's user avatar
  • 628
1 vote
2 answers
1k views

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 ...
LoukMouk's user avatar
  • 513
2 votes
0 answers
1k views

Adding usernameToken authentication to ONVIF deviceClient

CONTEXT: I'm currently trying to code a C# application to get informations, such as camera feed, dateTime, streaming URL, profiles and much more, from an ip camera, using the ONVIF "standard"... I ...
LoukMouk's user avatar
  • 513
0 votes
0 answers
1k views

Delphi TidHTTP web service security usernametoken

I am trying to use Delphi and Indy's TIdHTTP to access a site using the security usernametoken aspect. The SOAP request has headers for password type=urladdressforoasis password The server's ...
RDT's user avatar
  • 1
2 votes
0 answers
439 views

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-...
Akli's user avatar
  • 1,411
0 votes
2 answers
1k views

C# WCF Service Reference - can not create UserNameToken

In my desktop application (C#, WPF, WCF, .NET4.0) I addes a service reference. This is Web Service (SOAP) using certificate and UserNameToken in Soap Envelope Header. I add service reference (...
pejoter's user avatar
  • 49
0 votes
2 answers
2k views

How to enable UsernameToken WS-Security in WebSphere Liberty

I want to know how to enable WS-Security in WebSphere Liberty I have created a user(soa_user) and user group(soa_group) in my server.xml in Liberty profile. All the features mentioned bellow are ...
Roshanck's user avatar
  • 2,230
2 votes
0 answers
333 views

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. <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="http://docs.oasis-open.org/wss/2004/...
Ryan Lintag's user avatar
0 votes
1 answer
5k views

Exception of an authentication soap request with ws-security

Since yesterday, I'm trying to integrate security into my web services soap (with apache cxf) via ws-security. For this I have the following configuration: --my endppoint and its interceptors ...
FiokoSoft's user avatar
1 vote
0 answers
930 views

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 ...
DarkAngeL's user avatar
  • 429
0 votes
1 answer
2k views

cxf security headers for client using java

My requirement is to implement a method to generate ws security headers by using incoming username, password. So some one can invoke my method from xslt by providing username and password and my ...
lkreddy1231's user avatar
1 vote
1 answer
105 views

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\...
Erick ls's user avatar
  • 186
2 votes
2 answers
1k views

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....
chilopoda's user avatar
0 votes
1 answer
773 views

Custom WebLogic Web Service Policy

I use Weblogic 12.1.2 as the JavaEE container. I want to use my custom ws-security policy (because weblogic predefined ws-plocies has IncludeTimestamp and I want to remove this tag). Therefore I need ...
Ali Abazari's user avatar
0 votes
1 answer
328 views

webservice SOAP UsernameToken CXF not send username/password on each requests

I am using the usernameToken security policy to secure a soap webservice. I don't want the client to send the username/password on each requests. Is it possible to make the webservice statefull ? ...
Olivier Boissé's user avatar
0 votes
1 answer
1k views

How to add custom elements to Wsse Security / Username Token in Suds

Default SOAP Username Token has the following elements: <wsse:UsernameToken> <wsse:Username>USERNAME</wsse:Username> <wsse:Password>PASSWORD</wsse:Password&...
Deep's user avatar
  • 51
0 votes
2 answers
823 views

Websphere Role Based WS-Security with UsernameToken

Through the Websphere Console I've setup a Policy Set and a Policy Set Binding in order to support UsernameToken authentication on a webservice. As expected, it is rejecting web service calls without ...
Stephan Janssen's user avatar
1 vote
1 answer
2k views

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 ...
A.Badia's user avatar
  • 11
0 votes
1 answer
786 views

Websphere The time stamp value occurs too far into the future

I have set Username token webservice security and deployed this application on Websphere 7.0 app server. I have set below properties to false: com.ibm.wsspi.wssecurity.token.username.verifyNonce ...
girish's user avatar
  • 1
0 votes
1 answer
3k views

Http 400 Bad Request while authenticating with ONVIF camera

I am trying to authenticate with the ONVIF camera by sending the "usernametoken" soap request to get the device capabilities. But I am getting "The action requested requires authorization and the ...
Venkata Ganti's user avatar
-2 votes
1 answer
1k views

How to use WS-Policy with WCF?

We have specific requirements to connect our client code with Datapower Services, as a part of requirement they have provided WS-Policy file so we need help with below items? Is there any way to ...
Gaurav's user avatar
  • 11
1 vote
0 answers
538 views

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 ...
pepOS's user avatar
  • 345
0 votes
1 answer
445 views

SOAP WS-Security header UsernameToken is element tenant valid?

I've got a UsernameToken: <wsse:UsernameToken> <tenant>myTenant</tenant> <wsse:Username> USER </wsse:Username> <wsse:Password Type="blabla" >...
Christian's user avatar
  • 22.7k
1 vote
1 answer
8k views

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 ...
Dark Soul's user avatar
0 votes
1 answer
578 views

IBM Websphere application server 7 JAX-WS client WSSE UsernameToken

I'm consuming web service using JAX-WS on IBM Websphere application server 7. Setting WS message level security while passing the SOAP Message. UsernameToken xmlns:wsu is not passed correctly to ...
Ashok Kumar's user avatar
0 votes
1 answer
5k views

Testing WS Security using soapUI - using security header in message payload

I am new to webservice and WS Security. I have a sample webservice using CFX interceptor. Following is the config file I have. Cfx-servelet.xml: <?xml version="1.0" encoding="UTF-8"?> &...
user3394427's user avatar
5 votes
1 answer
7k views

Adding soap header authentication to wsdl2java generated code

I'm in the process of creating a Java web services client from a wsdl. I used Eclipses's Dynamic Web Project and new Web Services Client to generate the code with wsdl2java with Apache Axis 1.4. I ...
Dirigible Pulp's user avatar
2 votes
3 answers
5k views

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 ...
Ken's user avatar
  • 147
1 vote
0 answers
517 views

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: <wsse:Security soapenv:mustUnderstand="1" xmlns:wsse="...
Nizor's user avatar
  • 85
0 votes
1 answer
335 views

In ws-security under UsernameToken, is <sp:NoPassword/> not a valid assertion?

We are implementing the web services using Apache Axis2 and integrating with WS-Security (using Apache Rampart module) too. We are trying to define the Ws-Security policy that does NOT force the ...
aRvi's user avatar
  • 107
0 votes
1 answer
1k views

Develop web service - UsernameToken header with password digest authentication

We are trying to host a service over ABC Server with client certificate and message authentication. Client will provide WSSE UsernameToken Security header that need to be understood by the service and ...
Software Enginner's user avatar
6 votes
0 answers
1k views

WSDoAllSender class replacement in wss4j-1.6.10?

I have a WSDD what works well with wssj4-1.5.12. It looks like this: <deployment xmlns="http://xml.apache.org/axis/wsdd/" xmlns:java="http://xml.apache.org/axis/wsdd/providers/java"> <...
user1477923's user avatar
0 votes
1 answer
2k views

Error setting up ws-security (Apache Rampart/C) for UsernameToken authentication and NO encryption

I'm having problems setting up AXIS2/C web services (axis2/c 1.6.0) with Apache Rampart/C 1.3.0 (not to be confused with their java counterparts, aka just "axis2" and "rampart") for UsernameToken ...
Rick Garcia's user avatar
13 votes
2 answers
19k views

WCF SOAP 1.1 and WS-Security 1.0, client certificate transport auth, service cert for message body signature, UsernameToken, Password Digest, Nonce

Summary: I am working on a .NET 4.0 WCF client to consume a web service (DataPower, Java service on the other end) using SOAP 1.1 and WS-Security 1.0. The WCF client must implement a client ...
Jawad's user avatar
  • 356