saml-2.0

Issues generating Authorization Code for Oauth2 SAML Authorize using HTTPClient java

六月ゝ 毕业季﹏ 提交于 2019-12-13 03:47:00
问题 I am trying to automate the Token Generation (Authorization code followed by Access/JWT Token) process which is then will be used to hit the APIc's/API's. NOTE : I have used dumy domains/scope/redirect URI/parameters below for security reasons. How to Generate the Tokens Manually : I was provided with the below URL to generate the Authorization code Code Generation URL : https://sample.domain.com/affwebservices/public/saml2sso?SPID=testqaapi2p3&RelayState=response_type%3Dcode%26client_id

Creating SAML indentity assertion in Spring web app

前提是你 提交于 2019-12-13 02:12:22
问题 We have a spring web app, and a third party application which need to know which user is logged in into the Spring application. Once the user is logged in the Spring app, he will have the possibility to access the third-party app in a transparent manner. For that purpose, we have to use SAML (third app need). So the Spring web app will work as an IDP, in an IDP-initiated way. I found OpenSAML library, and this : http://blog.keksrolle.de/2010/07/27/how-to-create-a-valid-saml-2-0-assertion-with

Creating Policy for SAML's IAM role

做~自己de王妃 提交于 2019-12-13 00:18:17
问题 I'm trying to create a policy for an IAM role for my federated users (authenticating through my SAML provider). I'm following Creating a Role for SAML 2.0 Federation (Console) - AWS Identity and Access Management: { "Version": "2012-10-17", "Statement": { "Effect": "Allow", "Action": "sts:AssumeRoleWithSAML", "Principal": {"Federated": "arn:aws:iam::ACCOUNT-ID-WITHOUT-HYPHENS:saml-provider/PROVIDER-NAME"}, "Condition": {"StringEquals": {"SAML:aud": "https://signin.aws.amazon.com/saml"}} } }

How to use SPRING SAML EXTENSION to make our webapp as an identity provider?

跟風遠走 提交于 2019-12-12 22:09:53
问题 All, Here is my requirement. We have a current JAVA Web application and that is implemented basic security on Spring Security Framework. When user come to our app , we own the login page, we store the user credentials and spring framework is calling our customer user provider to get all the user details. Now, we have a need to talk to another web application hosted in different domain. But the new application is SAML compliant and is ready to authenticate users based on SAML tokens. Based on

Spring SAML: Error decrypting encrypted key, No installed provider supports this key

放肆的年华 提交于 2019-12-12 21:52:53
问题 I have refered the Spring SAML manual to create private key and import public certificate. But I am still facing issues with the encryption/decryption. I have created a JKS file with the following commands as mentioned in the manual which are as follows Command used to Import public certificate of IDP keytool -importcert -alias adfssigning -keystore samlKeystore.jks -file testIdp.cer Command used for Private Key keytool -genkeypair -alias myprivatealias -keypass changeit -keystore

Using Grails Spring Security Saml Plugin

若如初见. 提交于 2019-12-12 20:19:10
问题 I am trying to use Grails Spring Security Saml Plugin in grails app to have single sign on functionality, I have tried hard to find any example which have explanation of the steps I need to do for adding this plugin and then testing this in my local environment using mock IDP and SP but haven't found anything beside the Grails Spring Security Saml Plugin Documentation which only helps in adding the plugin in the app and configuring its different properties. Can anyone suggest the steps how I

Handling a SAML response

不问归期 提交于 2019-12-12 18:25:53
问题 I'm new to SAML 2 and I'm working on a tool that requires SSO, but I'm clueless on how to go about it. Here's the flow: 1) User accesses main website and chooses to log in. 2) User enters login information and submits 3) System validates credentials, generates a SAML response and redirects user to the new tool along with the SAML response as a POST variable. 4) The new tool parses the response, stores/updates information in the database and creates an active session for the user. 1,2 and 3

How to configure Custom Attributes in SP metadata

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-12 08:55:41
问题 I came to know that in any SSO Solution if SP needs any additional attributes it can publish them in its metadata using AttributeConsumingService argument. The required attributes can now be added like as below: <md:AttributeConsumingService index="0" xmlns:md="urn:oasis:names:tc:SAML:2.0:metadata" xmlns:saml="urn:oasis:names:tc:SAML:2.0:assertion"> <md:ServiceName xml:lang="en">ABC</md:ServiceName> <md:ServiceDescription xml:lang="en">ABC</md:ServiceDescription> <md:RequestedAttribute

Handling SAML Redirects on AJAX Requests

微笑、不失礼 提交于 2019-12-12 08:54:34
问题 I have several AngularJS apps all using Spring/Java and SAML 2.0 for SSO (leveraging the Spring Security SAML extension). My SSO id provider is OpenAM and everything is working pretty well. However, I am running into a situation when a user does a global logout from within one application but has other tabs open. Since these are single page web apps, a lot of functionality may still be usable in the orphaned tabs UNTIL, the user does something to invoke an ajax request. Of course, these AJAX

Does Azure ACS support saml 2.0 IdPs like Salesforce?

非 Y 不嫁゛ 提交于 2019-12-12 07:59:59
问题 I have no Access Control Service (ACS) installed, but I've seen on some online video demo that Salesforce is not in the list of available pre-installed identity providers. Salesforce can be configured as IdP (standard SAML 2.0 is used). Can I setup ACS so that I can use Salesforce as identity provider? Thanks 回答1: I haven't personally used a SAML 2.0 token provider, but it's official description says that ACS supports SAML 2.0 tokens. A list of supported protocols are OAuth 2.0, WS-Trust, and