saml-client | A dead simple SAML 2.0 client | Authentication library
kandi X-RAY | saml-client Summary
kandi X-RAY | saml-client Summary
A dead simple SAML 2.0 client.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Redirects the response to the configured identity provider
- Build SAML request
- Creates a simple SAML request
- Gets the logout request
- Convert a SAML object to a base 64 encoded string
- Redirects the user to the identity provider
- Build SAML request
- Creates a simple SAML request
- Gets the logout request
- Convert a SAML object to a base 64 encoded string
- Extracts attributes from an IDP response
- Get first certificate from X509Data
saml-client Key Features
saml-client Examples and Code Snippets
Community Discussions
Trending Discussions on saml-client
QUESTION
A customer is currently trying to decide if they want a SAML 2.0-based SSO implementation for their application. However, their users have many different identity providers. I have build some SAML-implementations, but they were all for one identity provider only and I don't have any hands-on experience with one application using many different identity providers.
Question: can you generally build one configurable SAML-client for multiple identity providers or do you have to build multiple distinct clients in order to service them all?
...ANSWER
Answered 2018-Feb-19 at 11:34A single Service Provider (SP) can use as many Identity Providers (IdP) as it wants. The only thing the SP needs to know is which IdP to use for a particular user. It does that in one of two ways. Either it displays a list of IdPs it knows about and the user selects one, or the user arrives at the SP on a 'WAYF-less' URL. WAYF means Where Are You From but is largely superceded by the SAML discovery process. Providing the entityID of the IdP to the SP bypasses the WAYF, hence WAYF-less URL.
e.g. you could have a URL scheme along the lines of:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install saml-client
You can use saml-client like any standard Java library. Please include the the jar files in your classpath. You can also use any IDE and you can run and debug the saml-client component as you would do with any other Java program. Best practice is to use a build tool that supports dependency management such as Maven or Gradle. For Maven installation, please refer maven.apache.org. For Gradle installation, please refer gradle.org .
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page