I'm working on some single sign-on stuff, for logging into an iSeries
using Kerberos. I have some Java code that uses jt400, which does all
the heavy lifting itself for the most part.
Trouble is, we develop our Windows stuff primarily with VB.Net, and we
use an IKVM wrapper around jt400 - actually very cool!
But that VM does not know how to retrieve the credentials from the
system. When I use the Kinit method in java, it creates the credentials
cache in a file on disk. Trouble is, I need to know the user's password
- I mean, I should not need to run Kinit anyhow - we've already signed
in to the Windows domain, and the ticket-granting ticket is already on
the system.
As I understand it, Windows stores the credentials cache in some
protected part of memory, not on disk. But there have to be ways to get
the contents of the cache into a variable, right?
So does anyone know a VB .Net method for retrieving this? Or, failing
that, which Windows API will do it?
And anyone who knows this - are you willing to share it here, or off-list?
Thanks
Vern
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact
[javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.