Sunday, November 26th, 2017
Communicating with identity and access management systems is a common task for many web-applications exposing secured resources.
Keycloak is an open source software that provides not also such authorization services but also offers a lot of features from Single-Sign-On, Identity-Brokering, Social-Login, User-Federation, multiple client-adapters up to the administration console or support for protocols like OpenID, SAML, OAuth2, Kerberos and more.
I will demonstrate how to integrate a Spring Boot web application with Keycloak and configure an authentication flow that requires a two-factor-authentication with user credentials and also one-time-passwords. (more…)
Tags: docker, freeotp, identity, kerberos, keycloak, maven, oauth, oauth2, openid, otp, principal, qr, realm, redhat, saml, security, spring, spring-boot, sso, thymeleaf
Posted in Java | No Comments »
Sunday, March 13th, 2016
OAuth2 is a frequently used standard for authorization and with Spring Boot it is easy to set up authorization and resource server in no time.
In the following short tutorial I’d like to demonstrate how to set up an OAuth2 authorization server as well as a connected and secured resource server within a few minutes using Java, Maven and Spring Boot.
(more…)
Tags: authentication, boot, identity, oauth, oauth2, postman, protocol, security, Snippet, spring, standard
Posted in Java | 32 Comments »
Tuesday, August 18th, 2015
HipChat is Atlassian’s alternative to Slack and its solution to team collaboration chats. Atlassian Connect offers developer tools to bootstrap applications, connect to Atlassian’s cloud products with easy and in combination with HipChat’s REST APIs allows us to write integrations for such a chat server in no time.
In the following tutorial I’d like to show how to write an integration within a few steps using Atlassian Connect, Node.js and Express and how to connect the integration to a HipChat server.
Finally on the one hand I’m going to explain how to speed up local development with ngrok, an in-memory database and nodemon for automatic application restarts and on the other hand I’m going to demonstrate how to configure the application for production, running with a Redis key-value store on Heroku.
(more…)
Tags: Atlassian, atlassian-connect, chat, database, db, express, heroku, hipchat, inmemory, integration, javascript, js, jugglingdb, ngrok, node, nodejs, nodemon, nosql, npm, oath, oauth2, redis, rest, slack, staging, webhook
Posted in Development, Javascript | No Comments »