Giter VIP home page Giter VIP logo

mockidp's Introduction

MockIDP

MockIDP is a small java web application that supports mocking of a simple SAML IDP.

As of now it o supports SSO through HTTP artifact resolve.

The IDP is not fully SAML compliant and should only be used for testing.

There are two configuration files.

The metadata file in MockIDP.properties and sp-metadata.xml

MockIDP.properties hold two properties spEntityId - The ID that identifies your SP in the sp-matedata.xml file spMetadataLocation - The location of the sp-matedata.xml file

sp-metadata.xml is a standard metadata file that is provided from the user. This file can typically be exported from the product that is used.

The path to the MockIDP.properties is by default ./MockIDP.properties if the file is placed elsewhere the MOCKIDP_PROPERTIES environment variable is used to specify this.

The idp-metadata.xml shows an example of a metadata file that represents the services in the IDP. The only services that are actually supported are ArtifactResolutionService and SingleSignOnService with HTTP-Redirect binding

Running with maven from source

maven jetty plugin is configured to start up a jetty server with the application at port 9000

The application is started by using mvn jetty:run

Deploying on a webserver

The application is released as a war file that can be deployed in any java servlet container.

mockidp's People

Contributors

rasmusson 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.