perl - Single sign on with windows login -
Now, I am developing on a single sign so that the windows login can be used to reach the local website, I'm writing a code in Pearl, I have no experience in doing something, because there are some complex steps in it; Authenticate user and password with Kerberbors I do not know what to do, can someone give me a tutorial link or share ideas? Or do I have to teach that what I have to do?
I do not know about Pearl, but I did it using curl to urlconnect in java
Since you want SSO with Windows login credentials, you want to use your default credentials. This means that you do not have to use the Kerberos API directly to get a credential and convert it to a GSSAPI credential.
What do you want to have access to Gssapi credentials then you use: -
To make reference to GSSAPI and pass the required token for authentication Can be used for. In the case of the SSO, use the default credential (GSS_C_NO_CREDENTIAL) in the credential argument.
As far as the URL is used, you have to use the URL link library with context objects. It can be difficult and I do not know how to do it. However you can alternatively use libcurl with Pearl binding. Libcurl uses GSS-API internally for its work.
If you want to use libcurl, then you should create libcurl with GSS-Negotiate (MIT Kerberos) and SPNEGO (openssl and fbopenssl) for your work and time It seems patience.
It should go to you. Remember, the resource is being protected (or the protector program instead) should also use the GSS-API (or equivalent SSPI since they are compatible)
Comments
Post a Comment