Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Implementing a SAML 2.0 token in customized JAAS login in WebSphere 8.0.0.3

 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The customer requirement is to introduce SAML 2.0 token to implement
single-sign-on (SSO) using WAS 8.0.0.3. The high level security model/login
process for SSO is the following:

1) User logs in to external customer system

2) External primary JAAS system allows user to access if authorization is successfully

3) WebSphere Application server passes SAML token with username encapsulated to secondary internal JAAS login module

4) Internal JAAS login Filter intercepts a call

5) Custom login module is called and need to extract username from SAML token

6) If the login is known the User is authenticated and access granted to internal system, otherwise access is
denied.

I am wondering if anybody can help with providing information how the
SAML token can be obtain in custom login module (point 5 above) using WAS API, and next
how it can be consumed to retrieve issuing username? Is there any WAS specific API available to obtain the SAML token?

I have inspected the code samples in section "Sample code of generating
SAMLToken from SAML XMLStructure or InputStream " provide on the
following page:

http://pic.dhe.ibm.com/infocenter/wasinfo/v7r0/index.jsp?topic=%2Fcom.
ibm.websphere.javadoc.doc%2Fweb%2Fapidocs%2Fcom%2Fibm%2Fwebsphere%
2Fwssecurity%2Fwssapi%2Ftoken%2FSAMLTokenFactory.html

Unfortunately I was not able to find anything similar for token
consumer, could you point me to the right online resources if any, please?
 
no wonder he is so sad, he hasn't seen this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic