TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
mohammed Irshad
1.5k
262
4.1k
Authentication in Web API
Jan 6 2019 3:08 AM
Dear All,
client should provide the following fields inside the body of the request
Username
Password
OrgID
Password Generate Mechanism
The password validation consists of two steps:
1. Validate the password text if belongs to the provided username.
2. Validate the request time; if it is older than 60 minutes, then it will be rejected.
To pass the mentioned validations, the client needs to provide the password field as an object with the following structure:
{
Password: String (User password as plain text),
CurrentDate: DateTime (the request (current) date and time with format “MM/dd/yyyy hh:mm:ss”)
}
The following process should be applied on the generated password object to be ready for using inside the request:
1. Generate JSON String for password object.
2. Encrypt JSON String using RSA cryptosystem (1024); encryption should be done using the keys mentioned below.
3. Encode the generated String using Base64.
Can you please suggest me a solution for this.
Thanks
Reply
Answers (
1
)
Spacing between menuitem
jqgrid cascading drop down option values in add box