• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JSON Web Token Authentication Examples/Tutorials?

 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi, this is my first post here.

I have been looking for a simple to follow tutorial or example of implementing a JSON Web Token (JWT) authentication system using Java (server-side). I am building an Ionic (Cordova) app that requires auto-sign-in capability, JWT seems to be the most secure way of accomplishing this. Saving the user's username and password locally is obviously pretty insecure. I have looked at OAuth 2.0, which looks promising, although I can't find much solid documentation. Has anyone here successfully implemented OAuth 2.0 in Java? I think the client-side part using AngularJS should be fairly straightforward, but the server-side part looks daunting. I have never worked with tokens, so maybe it's not as hard as it seems. My boss doesn't want to install Maven on our server, so I'm struggling to find a token solution.

Possible server-side solution:
http://oltu.apache.org

Thanks in advance.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic