File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Security and the fly likes Implementing a SAML 2.0 token in customized JAAS login in WebSphere Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Security
Reply locked New topic

Implementing a SAML 2.0 token in customized JAAS login in WebSphere

Marcin Rembisz

Joined: Feb 11, 2013
Posts: 3
The customer requirement is to introduce SAML 2.0 token to implement
single-sign-on (SSO) using WAS 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

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:

Unfortunately I was not able to find anything similar for token
consumer, could you point me to the right online resources if any, please?
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42965
Please do not post the same question to multiple forums: CarefullyChooseOneForum

Let's continue the discussion in this duplicate thread.
I agree. Here's the link:
subject: Implementing a SAML 2.0 token in customized JAAS login in WebSphere
jQuery in Action, 3rd edition