DZone
Thanks for visiting DZone today,
Edit Profile
  • Manage Email Subscriptions
  • How to Post to DZone
  • Article Submission Guidelines
Sign Out View Profile
  • Post an Article
  • Manage My Drafts
Over 2 million developers have joined DZone.
Log In / Join
Refcards Trend Reports
Events Video Library
Refcards
Trend Reports

Events

View Events Video Library

Zones

Culture and Methodologies Agile Career Development Methodologies Team Management
Data Engineering AI/ML Big Data Data Databases IoT
Software Design and Architecture Cloud Architecture Containers Integration Microservices Performance Security
Coding Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks
Culture and Methodologies
Agile Career Development Methodologies Team Management
Data Engineering
AI/ML Big Data Data Databases IoT
Software Design and Architecture
Cloud Architecture Containers Integration Microservices Performance Security
Coding
Frameworks Java JavaScript Languages Tools
Testing, Deployment, and Maintenance
Deployment DevOps and CI/CD Maintenance Monitoring and Observability Testing, Tools, and Frameworks

Enterprise AI Trend Report: Gain insights on ethical AI, MLOps, generative AI, large language models, and much more.

2024 Cloud survey: Share your insights on microservices, containers, K8s, CI/CD, and DevOps (+ enter a $750 raffle!) for our Trend Reports.

PostgreSQL: Learn about the open-source RDBMS' advanced capabilities, core components, common commands and functions, and general DBA tasks.

AI Automation Essentials. Check out the latest Refcard on all things AI automation, including model training, data security, and more.

Avatar

Adam Zaręba

Białystok

Joined Feb 2017

https://adamzareba.github.io/

About

Java/Scala developer, Database migration specialist. Passionate about all kinds of backend technologies and EAI middlewares. Co-founder of Java User Group Białystok and JSession.

Stats

Reputation: 314
Pageviews: 513.1K
Articles: 5
Comments: 3
  • Articles
  • Comments

Articles

article thumbnail
Secure Your API With JWT: Kong OpenID Connect
In this article, walk through the issues of session-based authorization and the benefits of stateless tokens, namely JWT.
March 19, 2024
· 3,232 Views · 3 Likes
article thumbnail
Secure Spring REST With Spring Security and OAuth2
In this tutorial, learn how to add security mechanisms, such as an authorization process and access tokens, to your REST API with Spring Security and OAuth2.
Updated January 19, 2024
· 350,904 Views · 90 Likes
article thumbnail
Multidimensional Reporting With CROSS APPLY and PIVOT in MS SQL Server
Read this article in order to view a tutorial on how to use PIVOT relational operator to transform data from table-valued into another table.
May 30, 2018
· 16,485 Views · 1 Like
article thumbnail
Cache OAuth 2 in Spring With Redis
In this article, we are going to go over how to create a caching mechanism for Spring and OAuth2 using Redis as our database for cache storage.
March 6, 2018
· 36,104 Views · 9 Likes
article thumbnail
Spring + Hibernate + EhCache Caching
Look at an example Spring Boot project to help you understand how to use Spring, Hibernate, and EhCache caching features.
Updated March 2, 2018
· 106,360 Views · 41 Likes

Comments

Cache OAuth 2 in Spring With Redis

Jan 03, 2019 · Adam Zaręba

Purpose of UniqueAuthenticationKeyGenerator was to enhance example - this class provides unique token after each successful authentication try, so it means that it is possible to have still valid multiple tokens for one user.

Secure Spring REST With Spring Security and OAuth2

Nov 15, 2018 · Adam Zaręba

Hi Adam,

I prepared source codes for next blog post here: https://github.com/adamzareba/company-structure-spring-security-oauth2-roles

Hope it will help.

Secure Spring REST With Spring Security and OAuth2

Mar 19, 2018 · Adam Zaręba

Hi,

Thanks for your feedback. It seems you have issue with annotations processing in eclipse. You have to turn on annotation processing like described in following article (section eclipse):
https://docs.jboss.org/hibernate/orm/5.0/topical/html/metamodelgen/MetamodelGenerator.html


Please, remember to install lombok plugin later on to process Lombok annotations.

After that, restart your IDE and rebuild the project.

Thanks,
Adam

User has been successfully modified

Failed to modify user

ABOUT US

  • About DZone
  • Send feedback
  • Community research
  • Sitemap

ADVERTISE

  • Advertise with DZone

CONTRIBUTE ON DZONE

  • Article Submission Guidelines
  • Become a Contributor
  • Core Program
  • Visit the Writers' Zone

LEGAL

  • Terms of Service
  • Privacy Policy

CONTACT US

  • 3343 Perimeter Hill Drive
  • Suite 100
  • Nashville, TN 37211
  • support@dzone.com

Let's be friends: