GithubHelp home page GithubHelp logo

gjeanmart / jasperserver-war-keycloak Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ramunask/jasperserver-war-keycloak

0.0 3.0 0.0 14 KB

JasperReports® Server 6.2.0 integration with Keycloak 1.9.1.Final via Spring Security and Open ID (OAuth) protocol.

Java 100.00%

jasperserver-war-keycloak's Introduction

jasperserver-war-keycloak

JasperReports® Server 6.2.0 integration with Keycloak 1.9.1.Final via Spring Security and Open ID (OAuth) protocol.

Changes

  • Multi Tenancy
  • SAML
  • Single Sign Out

Information

Client Adapter is: Spring Security with OpenID (OAuth)

Requisition

  • Keycloak 1.9.1 installed.
  • JasperReports Server 6.2.0 installed.

How to setup

  1. Register a new client jasperserver in Keycloak server, with details as below:

    • Client ID: jasperserver
    • Client Protocol: openid-connect
    • Access Type: confidential
    • Valid Redirect URIs: <JasperServer - Context Path>/*
    • Base URL: <JasperServer - Context Path>
  2. Update master.json in jasperserver-war-keycloak project, specially for this parameters:

    • realm (default: master)
    • realm-public-key
    • auth-server-url: <Keycloak - Host:Port>/auth
    • credentials {secret}: <Keycloak - 'jasperserver' client - Credentials - Secret>

How to change realm

  1. Access the http://:/jasperserver/?realm=.
  2. The selected realm name will be stored in a cookie with name realm.

Concerns

  • SAML haven't been implemented, but looks like it can be done with:

    • Keycloak - SAML Adapter - General Adapter Config
    • Spring Securty SAML - Spring Security Integration
  • Single Sign Out, currently only been implemented one way from JasperServer - Logout to Keycloak Server. To support a fully Single Sign Out, must implement Keycloak - User Guide - Javascript Adapter - Session status iframe.

  • Spring Security Filter, currently this project follow the original JasperServer (as there's no original files that been override), which is Logout Filter continue with Pre-Authentication Filter. In the Keycloak documentation, it should be Pre-Authentication Filter continue with Logout Filter.

jasperserver-war-keycloak's People

Contributors

nico-arianto avatar

Watchers

Greg Jeanmart avatar James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.