Posts containing "spring"
Spring JWT with RSA (asymmetric encryption algorithm)
Let's say we have an "auth server" that signs tokens for us and a "resource server" where we store some pretty sensitive data. We trust the auth server and we want to validate that the JWT we get indeed comes from that trusted auth server. In other words, how can we be sure that the guy who wants to detonate our printers is using a JWT that is from that very auth server?
Awesome Spring Specification How-to
Introduction Okay so we made a filterable + sortable + pageable list before with Spring + Couchbase (you can read more about it here and here, I totally recommend you read those posts, cuz I’ll refer to them in this one). Actually filters are meant to be in an AND relation between the parameters (most of the cases).
How to make a custom Username Password Authentication Filter with Spring Security
Basically I’ll show you how to use Spring Security and how to customize it if you want. First we’ll implement the basic authentication with basic responses and other stuff, and I’ll show you how to customize the login and logout process as you wish Simple Authentication After you added the required dependencies described on Spring’s...