Posts containing "webdevelopment"
Intro OAuth2 is a widely used authorization framework enables third-party applications to obtain limited access to a web service and it has been around for some time now. Though it is popular and there are a handful of really helpful introductions and descriptions on the subject, it can be a challenge for someone unfamiliar with...
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...
Ray Tracing with Akka – Part 4
Where did we stop last time? Read the first part of this series for an intorduction to ray tracing and what I wanted to achieve. Here we created a sphere and a shadow. Read part two for a discussion on creating a plane and letting our objects reflect and refract. Part three has been the most advanced, in here we built...
Spring & Multiple SQLs: How to easily connect your Spring application to multiple SQL databases
This post will show you how to connect your Spring application to multiple SQL Databases at the same time. But first, let’s see when multiple DB connections are useful. For example you have an application and you have that application set up in different environments (let’s call it “prod app”), and you want to write...
How to write cancellable http requests with Angular $http service
Inspiration The recent spread of the mobile internet connection almost completely changed the job profile of almost every frontend-developer. We steadily try to make our web pages responsive, and fearlessly fight against a wide variety of mobile browsers. But the mobile internet access has one more, a less freqently mentioned danger that causes sleepless nights...
A Quick Guide to Implement a Cross-Browser AngularJS Pull-to-refresh Directive
What made me do this? As a newbie in frontend development, I have to admit, a few months ago I couldn’t even imagine myself writing my own UI component. In those good days, I just carelessly included other, ready-to-use components and never thought about why and how they really work. Sometimes these plugins caused me...
Monday Morning with a Content-Security-Policy HTTP Response Header
The story Mondays are always a unique mixture of a new beginning and unexpected surprises in every office. Sometimes you find a solution for a long-standing problem, but you never know what awaits you in your mailbox after a long, unclouded weekend. The Monday morning, on which my story begins, is a good example for...