Hi Peter,
Thank you for your reply. We are using the latest version of ISIM which is version 7.0.1.13. As per my current understanding, this version supports LTPA as well for authentication. That's why I am thinking of utilizing this feature. I have not tested it but this is what I read. Also, I am not sure whether this method is for authentication to consoles only or will it work for web services as well.
Yes, we might have to fall back to using the itim manager or another service account, but before that, I want to explore other options and the best practices for such a use case.
We have TAI implemented for giving Single Sign-on to ISIM console if the user is coming from WebSEAL. Can we use this concept in web service calls as well? Assuming if we call the web service endpoints through the webseal, we authenticate at webseal level using any supported mechanisms (basic auth,oauth etc) and then WebSEAL gives Single Sign-on, returning the session handle which we can then use for the subsequent web service calls? Would that be possible?
Best regards,
------------------------------
Jahanzaib Sarwar
------------------------------
Original Message:
Sent: Thu October 10, 2019 02:16 AM
From: Peter Volckaert
Subject: ISAM decrypt iv-creds value
Hi Jahanzaib,
First you need to determine how you can authenticate to these ISIM web services. As far as I remember, these required a username and a password, and LTPA was not supported. Please verify for your release of ISIM.
Assuming these ISIM web services do need a username and password, then how are you going to pass the the password to the backend? Except for the GSO Lock Box mechanism, which implies the sync'ing of passwords and thus is a pain, there is no out-of-the-box way of passing a password over a junction. In other words: sending over a JWT won't help you neither - the password simply isn't in the ISAM credential.
You may have to fall back to using a 'technical account' like 'itim manager' (or so...) to authenticate to the ISIM web services.
Kind regards, Peter.
------------------------------
Peter Volckaert
Senior Sales Engineer
Authentication and Access
IBM Security
Original Message:
Sent: Sat October 05, 2019 10:39 AM
From: Jahanzaib Sarwar
Subject: ISAM decrypt iv-creds value
Hi John,
Thank you for your reply.
Yes we would not go for Java APIs because of just this particular requirement. I believe tag-value support will not work in our case because we need user's identity information (username and password).
I am interested in JWT but the client does not have the Federation add-on (I guess its a separate license). So I have to think of some way of passing authenticated user information to the backend app which can then use it to authenticate to ISIM at the backend for Web Services.
I am thinking of using LTPA token for this purpose. WebSEAL will pass LTPA to the backend app which will use it to talk to ISIM Web Services. What do you think about it?
Regards,
------------------------------
Jahanzaib Sarwar
Original Message:
Sent: Thu October 03, 2019 11:25 AM
From: Jon Harry
Subject: ISAM decrypt iv-creds value
Hello Jahanzaib,
iv-creds header is not encrypted - it is encoded (actually it's a Base-64 encoded ASN.1 object).
The format isn't published so the only supported way to get information from it is to use the Java APIs that ship in the JDK.
Really you don't want to go down this path unless you have to.
If you want only a few attributes from the credential at the backend, use the WeBSEAL tag-value support to send these in HTTP headers which the back-end app can easily read.
If you want more information than that (and you have the Federation add-on), use the "TFIM Junction" support to send a JSON Web Token to the backend. This is a standard identity assertion object which you can more easily access. It can also be signed and/or encrypted if you like. See this blog post: https://www.ibm.com/blogs/sweeden/isam-9-0-2-the-jwt-sts-module-and-junction-sso-to-websphere-liberty/
Cheers... Jon.
------------------------------
Jon Harry
Consulting IT Security Specialist
IBM
Original Message:
Sent: Thu October 03, 2019 09:42 AM
From: Jahanzaib Sarwar
Subject: ISAM decrypt iv-creds value
Hello all,
We need to get the value of the header 'iv-creds' which webseal passes to the backend server. The default value is encrypted. Can we decrypt the value?
Regards,
------------------------------
Jahanzaib Sarwar
------------------------------