single-sign-on

Get AD Groups with kerberos ticket in Java

£可爱£侵袭症+ 提交于 2020-01-01 12:14:32
问题 I am obtaining a kerberos ticket with the following code: String client = "com.sun.security.jgss.krb5.initiate"; LoginContext lc = new LoginContext(client, new CallbackHandler() { @Override public void handle(Callback[] arg0) throws IOException, UnsupportedCallbackException { System.out.println("CB: " + arg0); } }); lc.login(); System.out.println("SUBJ: " + lc.getSubject()); This code works fine, I get a subject that shows my user ID. The problem I'm having is now I need to know whether the

SSO Library on asp.net C#

£可爱£侵袭症+ 提交于 2020-01-01 07:07:44
问题 What the the Open source Library available in the C#.NET for the SSO. Basically I want to connect with Google SSO then will further continue with other providers. 回答1: Check out: DotNetOpenAuth Also, you may want to check the following links: http://msdn.microsoft.com/en-us/library/ms972971.aspx http://weblogs.asp.net/hernandl/archive/2004/06/09/ssoformsauth.aspx 回答2: The Windows Identity Foundation (WIF) is Microsoft's official library for identity federation. In your scenario you can also

PHP Multi site login

寵の児 提交于 2020-01-01 05:15:07
问题 I am currently working on a project that spans accross multiple domains. What I want is for the user to be able to login on one site and be logged in on all the others at the same time. The users session is stored in the database, the cookies that I set on each domain contain the session id. So basically when a user logs in to example.com a cookie is created with their session id, the session data is stored in the database. Once this is done a cookie needs to be created on all the other

SSO - SAML, Redirect a user to a specified landing page after successful log in

余生颓废 提交于 2020-01-01 03:29:07
问题 I am implementing SSO where I am the Identity Provider, right now I am able to successfully log into the Service Provider. But it takes me to the home page. I want to specify the landing page URL when I post the response. Have searched quite a lot but could not find anything convincing. Do not quite know which element of the SAML response carries the Landing page URL or is the in the form that I have to specify. Using java and opensaml libraries to generate the response. 回答1: Though it is not

SSO between Java EE and Cognos application

半城伤御伤魂 提交于 2019-12-31 02:46:21
问题 Problem description: Theren are two subsystems. One is a web based Java EE application and the other a Cognos reporting tool. Currently, both these applications provide individual login pages that allow the users to perform their activities, as per the roles defined in the system. Java EE users can directly login to the Java EE application using its login page. Similarly, the Cognos users can login to the Portal using its login page by supplying their intranet ID credentials. There is a

HTTP-Redirect Binding SAML Request

℡╲_俬逩灬. 提交于 2019-12-30 07:28:46
问题 Suppose SP-init SSO is carried out, HTTP-Redirect Binding is used instead of HTTP-POST Binding and signed AuthnRequest is required. It means to include the SAMLRequest in the URL. Q1. Do I need to include the signature in the URL or just embed in the SAMLRequest ? The redirect url is http://idp.example.com/SSOService.php?SAMLRequest={val1}&Signature={val2}&SigAlg={val3} with my SAMLRequest (without signature) <samlp:AuthnRequest ID="" Version="2.0" IssueInstant="2015-05-22T02:47:38Z"

Newbie at JAAS authentication; Sign in using a token in the URL Bar

和自甴很熟 提交于 2019-12-30 07:12:15
问题 I have an interesting project requirement where we must accept a token as a GET paramenter that will authenticate a user coming into an application. This is to allow trusted third parties to seamlessly send a user over to our site without having to make them log in again. An example might be: http://www.myproj.com/appName/index.jsf?user_token=asdf123randomstuffaf12fsaasdf appName would be the context root, and user_token would be a token that could be checked. The token will be used once,

How to parse a SAML assertion request in .Net

你离开我真会死。 提交于 2019-12-30 06:46:26
问题 I'm trying to implement a SAML SSO solution in .Net, but I'm having a problem parsing the assertion. I have a sample assertion (looks like byte[] data as text) and corresponding .p7b file. I want to load the keys from the .p7b and decrypt the assertion to an XML document. So far I think I'm reading the keys correctly: // get the key data byte[] certificateData = System.IO.File.ReadAllBytes("myKeys.p7b"); // decode the keys var cms = new SignedCms(SubjectIdentifierType.IssuerAndSerialNumber);

Something compareable to 'localtunnel' for Windows [closed]

*爱你&永不变心* 提交于 2019-12-30 00:51:07
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 3 years ago . I found this here http://github.com/progrium/localtunnel , and it's exactly what I need, but I am working on Windows and localtunnel is Unix... Some backgorund: I am currently developing a Facebook app and the Single-Sign-On won't work on my local Tomcat. 回答1: PageKite (disclaimer: I made this!) solves the same

Public SAML v2 service providers for testing? [closed]

泪湿孤枕 提交于 2019-12-29 10:08:32
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 5 months ago . I'm wondering if there are any publicly available SAML v2 SPs that I can use to test with. I think Salesforce and Google apps both have an SSO solution which is compatible, but I'm just not sure how to go about getting access (and unclear whether it costs.) Maybe I should just set up an SP (using OpenSSO or