Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9031169
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T07:39:51+00:00 2026-06-16T07:39:51+00:00

I have a REST Jersey web service. My question is about the answer of

  • 0

I have a REST Jersey web service.

My question is about the answer of this question, please check;

token based authentication in php

In that answer its mentioned that;

“It then sends a hash of this token and certain characteristics of the request to authenticate the request, e.g. sha1(Token + Timestamp + Request URL + Request Body). Your server can validate this without the client having to send the token in plain text on each request.”

Can anyone explain how can the server validate “without the client having to send the token in plain text on each request” ? Client should to send token each time to server?

Another question is, once the server receives a hash of this token(which includes timestamp and userid..etc) How will server identify the user from this token without having a look table or DB where tokens are stored?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T07:39:52+00:00Added an answer on June 16, 2026 at 7:39 am

    For the first question: the client can send a hashed version of the token and the server compares hashed value with the value received from the client.

    For the second question: you can keep a mapping between token and user in memory or on disk or wherever you think appropriate.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have written REST web service in netbean IDE using jersey framework and java.
I have written a REST web service with Jersey Server (that totally rocks !).
I have some @javax.xml.bind.annotation.Xml... annotated classes here intended for a RESt web service. Jersey
I have a REST service that returns a JSON like this: [{@id:123,name:Name}] and I'm
I have a REST web service class which i call HttpRequest using curl.I wrote
I'm using Jersey to create a REST web service for a server component. The
I have a REST service built using Jersey. I want to be able to
I'm using eclipse and I have a java web service (rest jax-rs) I also
I have to use an interface in my REST web service. Here is the
I have a REST web service which I created previously and deployed in Tomcat7.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.