Code Monkey home page Code Monkey logo

asgardeo-java-saml-sdk's Introduction

Asgardeo SAML SDK for Java

Build Status Stackoverflow Discord License Twitter

The Asgardeo SAML SDK for Java enables software developers to integrate SAML based SSO authentication with Java Web applications. The SDK is built on top of the OpenSAML library which allows Java developers to develop cross-domain single sign-on and federated access control solutions with minimum hassle.

Table of Contents

Installing the SDK

Github

The SDK is hosted on github. You can download it from:

Building from the source

If you want to build identity-agent-sso from the source code:

  1. Install Java 8
  2. Install Apache Maven 3.x.x (https://maven.apache.org/download.cgi#)
  3. Get a clone or download the source from this repository (https://github.com/asgardeo/asgardeo-java-saml-sdk.git)
  4. Run the Maven command mvn clean install from the asgardeo-java-saml-sdk directory.

Maven

Install it as a maven dependency:

<dependency>
    <groupId>io.asgardeo.java.saml.sdk</groupId>
    <artifactId>io.asgardeo.java.saml.sdk</artifactId>
    <version>0.1.19</version>
</dependency>

The SDK is hosted at the WSO2 Internal Repository. Point to the repository as follows:

<repositories>
    <repository>
        <id>wso2.releases</id>
        <name>WSO2 internal Repository</name>
        <url>http://maven.wso2.org/nexus/content/repositories/releases/</url>
        <releases>
            <enabled>true</enabled>
            <updatePolicy>daily</updatePolicy>
            <checksumPolicy>ignore</checksumPolicy>
        </releases>
    </repository>
</repositories>

Contributing

Please read Contributing to the Code Base for details on our code of conduct, and the process for submitting pull requests to us.

Reporting Issues

We encourage you to report issues, improvements, and feature requests creating git Issues.

Important: And please be advised that security issues must be reported to [email protected], not as GitHub issues, in order to reach the proper audience. We strongly advise following the WSO2 Security Vulnerability Reporting Guidelines when reporting the security issues.

Versioning

For the versions available, see the tags on this repository.

License

This project is licensed under the Apache License 2.0 under which WSO2 Carbon is distributed. See the LICENSE file for details.

asgardeo-java-saml-sdk's People

Contributors

asekawa avatar ayshsandu avatar chamathns avatar cnapagoda avatar darshanasbg avatar deshankoswatte avatar dinikasen avatar emswbandara avatar gangani avatar gayashanbc avatar gdrdabarera avatar godwinamila avatar hasinthaindrajee avatar isharak avatar janakamarasena avatar jkaushalya avatar kasungayan avatar madumalt avatar madurangasiriwardena avatar maheshika avatar malithie avatar mefarazath avatar nilagini avatar nipunibhagya avatar omindu avatar pulasthi7 avatar senthalan avatar thanujalk avatar vivekvinushanth avatar wso2-jenkins-bot avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

asgardeo-java-saml-sdk's Issues

Exception throws when ErrorPage or IndexPage properties are not configured in the configuration file

Description:
Below exception throws when ErrorPage property is not configured in the configuration file at the logout
java.lang.IllegalArgumentException: Path [samlsso?SAML2.HTTPBinding=HTTP-POST] does not start with a "/" character

Suggested Labels:

SAML,SLO,Tomcat
Suggested Assignees:

Affected Product Version:
sgardio-java-oidc-sdk release version 0.1.16
OS, DB, other environment details and versions:
WSO2 IAM 5.10.0, Tomcat 9.0

Steps to reproduce:

  1. Setup asgardio tomcat sample app : https://github.com/asgardio/asgardio-tomcat-saml-agent/tree/master/io.asgardio.tomcat.saml.agent.sample by using asgardio-java-oidc-sdk release version 0.1.16
  2. Remove below properties from the sample-app.properties
    IndexPage=/sample-app/index.html
    ErrorPage=/error.jsp
  3. Check the logout flow

Functionality Improvements for the SAML SDK

Description:

A few improvements have been identified for the SAML SDK which would add to the scope of the functionality that could be utilized by the developer.

Tasks:

The following are the main tasks that has been identified for the first phase of the improvements.

  • Add support for an error page via the properties file.
    A page to customize the redirect page upon error response.

  • Add support for a target page.
    A page to customize the redirect page upon successful authentication.

  • Refactor the SSOAgentConfigs and SSOAgentConfig classes.

Revamp the POST-binding redirect page.

Describe the issue:
The current post-binding redirect page uses a HTML payload with minimal styling.
This needs to be updated in a user-configurable manner. Meaning the user should be able to configure this redirect page via the asgardeo-tomcat-saml-agent.

Peek 2021-05-08 14-21

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.