Click here to Skip to main content
15,918,742 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Do you have some token based authentication for RESTEasy APIs. I want to design some REST API URL for login and logout. On upon calling login URL with valid user name and password, the server will assign token to response header. For subsequent API call the client has to send the token to the server. Also the token has some expiery. Is there any some existing framework available? If yes then can you write one example like above? if not then how do I integrate it?

What I have tried:

i tried this link but i am facing the problem.
Updated 7-Jul-16 0:16am
Richard MacCutchan 7-Jul-16 6:08am    
but i am facing the problem.

Sorry, but it is unlikely that we can guess what that problem is.
shobhit saxena1988 7-Jul-16 6:17am    
The import cannot be resolved
The import cannot be resolved
The import cannot be resolved
in every import class,it is showing this type of error
shobhit saxena1988 7-Jul-16 6:20am    
The import org.glassfish.jersey.client cannot be resolved
shobhit saxena1988 7-Jul-16 6:21am    
i have already included all jar files.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900