An open API service indexing awesome lists of open source software.

https://github.com/fusionauth/fusionauth-samlv2

SAML v2.0 bindings in Java using JAXB
https://github.com/fusionauth/fusionauth-samlv2

Last synced: about 1 year ago
JSON representation

SAML v2.0 bindings in Java using JAXB

Awesome Lists containing this project

README

          

# fusionauth-samlv2

This repository is SAML v2.0 bindings in Java using JAXB.

You'd use this library to process SAML requests and responses. See the tests for example code.

## Security disclosures
If you find a vulnerability or other security related bug, [please report the vulnerability here](https://fusionauth.io/security) before opening a GitHub issue. This will allow us to assess the disclosure and prepare a fix prior to a public disclosure.

We are very interested in compensating anyone that can identify a security related bug or vulnerability and properly disclose it to us.

### Disclosures

- CSNC-2021-004 XML External Entity
- Thanks to [Compass Security](https://compass-security.com/) for responsibly disclosing this issue.
- See [CVE-2021-27736](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-27736)
- See [CSNC-2021-004](https://www.compass-security.com/fileadmin/Research/Advisories/2021-03_CSNC-2021-004_FusionAuth_SAML_Library_XML_External_Entity.txt)
- Affects versions prior to `0.5.4`, ensure you are using version `0.5.4` or later.
- CNSC-2020-002 Signature Exclusion Attack
- Thanks to [Compass Security](https://compass-security.com/) for responsibly disclosing this issue.
- See [CVE-2020-12676](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2020-12676)
- See [CNSC-2020-002](https://compass-security.com/fileadmin/Research/Advisories/2020-06_CSNC-2020-002_FusionAuth_Signature_Exclusion_Attack.txt)
- Affects versions prior to `0.3.3`, ensure you are using version `0.3.3` or later.

## Build

### Setup Savant

Linux or macOS

```
mkdir ~/savant
cd ~/savant
wget http://savant.inversoft.org/org/savantbuild/savant-core/1.0.0/savant-1.0.0.tar.gz
tar xvfz savant-1.0.0.tar.gz
ln -s ./savant-1.0.0 current
export PATH=$PATH:~/savant/current/bin/
```

You may optionally want to add `~/savant/current/bin` to your PATH that is set in your profile so that this change persists. You'll also need to ensure that you have Java >= 8 installed and the environment variable `JAVA_HOME` is set.

For more information on the Savant build tool, checkout [savantbuild.org](http://savantbuild.org/).

### Building the library

Build a jar

```
sb jar
```

Run the tests

```
sb test
```

## Contributing

We welcome contributions. Please open issues or pull requests on the GitHub repo: https://github.com/FusionAuth/fusionauth-samlv2/

## More info

Learn more about SAML here:

* https://fusionauth.io/docs/v1/tech/samlv2/
* https://samltest.id/
* https://wiki.oasis-open.org/security/FrontPage