saml-2.0

Spring boot SAML 2 authentication object null

允我心安 提交于 2021-01-28 21:10:52
问题 I've a requirement to integrate SAML authentication with rest API, so that I can make my rest services stateless, the approach which I've taken is as follows Developed an authentication service behind zuul proxy which is running behind AWS ALB User tries to generate token via endpoint https://my-domain/as/auth/login Since user is not logged in, so he gets redirected to IDP where he authenticate After authentication the IDP redirect user back to my service i.e. at URL https://my-domain/as/auth

Extract Sustainsys SAML 2.0 Assertion

会有一股神秘感。 提交于 2021-01-28 14:13:27
问题 I am tasked with setting up SAML 2.0 Single Sign On via the Sustainsys (Kentor) library for the project I am currently working on. Here is the documentation I have been following. The website is a webforms application so I am using the HTTPModule portion of the Sustainsys library. I have configured my IDP (Okta) to send the SAML 2.0 assertions to the website which the documentation proclaims the Endpoint to be /Saml or /Saml/Acs . The site is a Kentico CMS website and the CMS offers an API

Anyone succesfully used Wss4jSecurityInterceptor for Spring.WS for SAML security with a SAMLCallbackHandler in a Spring Boot application?

人走茶凉 提交于 2021-01-28 09:16:10
问题 Is someone with experience in using Wss4jSecurityInterceptor able to help figuring out if we are doing something wrong regarding a SAMLCallbackHandler for supplying the assertion for the security header of a SOAP call? Specifically: org.springframework.ws.soap.security.wss4j2.Wss4jSecurityInterceptor Context: We are building a service bus using Spring Boot + Spring Integration, which needs to be able to consume and produce requests signed with SAML, not in the context of SSO. We have picked

Anyone succesfully used Wss4jSecurityInterceptor for Spring.WS for SAML security with a SAMLCallbackHandler in a Spring Boot application?

筅森魡賤 提交于 2021-01-28 09:10:47
问题 Is someone with experience in using Wss4jSecurityInterceptor able to help figuring out if we are doing something wrong regarding a SAMLCallbackHandler for supplying the assertion for the security header of a SOAP call? Specifically: org.springframework.ws.soap.security.wss4j2.Wss4jSecurityInterceptor Context: We are building a service bus using Spring Boot + Spring Integration, which needs to be able to consume and produce requests signed with SAML, not in the context of SSO. We have picked

SAML: is it possible to force user to go through login process even when user has an IDP session

时光怂恿深爱的人放手 提交于 2021-01-28 03:03:39
问题 In SAML, is it possible to force the user to go through idp's login process everytime even when the user has an active idp session? To make a concrete example here: Let's call my application "SP" I use SSOCirecle as idp and I use POST and redirect (SP initiated). To test, I will first login to SSOCircle to get an active idp session. Then when I try going to SP, I should be redirected to idp. Normally, since I already have an active idp session, the idp will see "oh, you already being

Spring Security Saml configuration error with OKTA

跟風遠走 提交于 2021-01-27 14:47:37
问题 Might be the question is already answered before but I cant find any answer for my problem so I ask you my question. I am trying to implement SAML2 based SSO with OKTA. For that purpose I created a dev account at oktapreviw. I downloaded spring securty saml2 example at this link http://projects.spring.io/spring-security-saml/#quick-start and by using this link https://docs.spring.io/spring-security-saml/docs/1.0.x/reference/html/chapter-idp-guide.html#d5e1816 I adopted my configuration and

Create a SOAP message with Assertion Saml2 in Header with c# code

久未见 提交于 2020-12-10 13:26:55
问题 I have a Government Web Server with an exposed service that I need to consume. So far, for other services of the same Web Server I have done this: I created a CustomBinding, which creates a Header with only the Security tag. This is the code: var sec = new AsymmetricSecurityBindingElement( new X509SecurityTokenParameters(X509KeyIdentifierClauseType.Any, SecurityTokenInclusionMode.Never), new X509SecurityTokenParameters(X509KeyIdentifierClauseType.Any, SecurityTokenInclusionMode

Create a SOAP message with Assertion Saml2 in Header with c# code

倖福魔咒の 提交于 2020-12-10 13:25:08
问题 I have a Government Web Server with an exposed service that I need to consume. So far, for other services of the same Web Server I have done this: I created a CustomBinding, which creates a Header with only the Security tag. This is the code: var sec = new AsymmetricSecurityBindingElement( new X509SecurityTokenParameters(X509KeyIdentifierClauseType.Any, SecurityTokenInclusionMode.Never), new X509SecurityTokenParameters(X509KeyIdentifierClauseType.Any, SecurityTokenInclusionMode

Java Sprint boot + React application SSO Azure AD

為{幸葍}努か 提交于 2020-12-08 03:50:20
问题 The bounty expires in 7 days . Answers to this question are eligible for a +50 reputation bounty. Varun wants to draw more attention to this question. I have created an application with Spring boot based backend and frontend in react. For its authentication I would like to use Azure AD + SAML2. I am unable to find any reference material to do it with standalone applications like this, with node+react(hosted on express) its feasible, with pure java based web application it seems feasible but