This week's book giveaway is in the Spring forum.
We're giving away four copies of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 and have Marten Deinum & Iuliana Cosmina on-line!
See this thread for details.
Win a copy of Pro Spring MVC with WebFlux: Web Development in Spring Framework 5 and Spring Boot 2 this week in the Spring forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Jeanne Boyarsky
  • Liutauras Vilda
Sheriffs:
  • Rob Spoor
  • Bear Bibeault
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:
  • Frits Walraven
  • Himai Minh

Suggest an open source SAML token generator

 
Bartender
Posts: 1638
IntelliJ IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

Can someone suggest an easily available and readily installable SAML token generator. I dont want something as sophisticated as shibboleth, i just want a piece of code that can generate SAML authentication, authorization and attribute tokens.
I am developing an intermediary that understands SAML tokens, no matter what the source is.

Thanks in advance,
nitesh
 
Rancher
Posts: 43024
76
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to JavaRanch.

WSS4J contains a SAML implementation. It also contains other stuff, but you can ignore that.
 
Nitesh Kant
Bartender
Posts: 1638
IntelliJ IDE MySQL Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Ulf,
Thanks alot for the prompt reply. WSS4J uses openSaml for creating SAML tokens. Actually, i wanted something like an openLdap thingie, wherein i can use a utility to create SAML requests and it can give me back the SAML assertions. (This would mean that the implementation will be a service provider for authentication and authorization.) WSS4j is more of an API, correct me if i am wrong.
I will tell you in detail as to what i need:
I am writing an intermediary that will take request from a third-party (they will be SAML authentication/attribute/authorization assertions). Based on the type of assertions, i may choose to:
1) Post a request to a SAML authorization server(if i received an authentication assertion)
2) Just propogate the authentication info in some other format to my client.
3) Fetch some attributes from a configured server and send it to the client.

So, i need an environment where based on the SAML request i make, i can get SAML assertions.

T&R,
Nitesh
 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Nitesh,

Were you able to solve this thread? I am also in the similar requirement.

Thanks,
Ram
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic