<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: chiragsoni2401</title>
    <description>The latest articles on DEV Community by chiragsoni2401 (@chiragsoni2401).</description>
    <link>https://dev.to/chiragsoni2401</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F372314%2F255621c9-458d-4aad-ac10-57ca3902ac2f.png</url>
      <title>DEV Community: chiragsoni2401</title>
      <link>https://dev.to/chiragsoni2401</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/chiragsoni2401"/>
    <language>en</language>
    <item>
      <title>Combine database and SAML authentication in one application using spring security</title>
      <dc:creator>chiragsoni2401</dc:creator>
      <pubDate>Thu, 23 Apr 2020 13:39:52 +0000</pubDate>
      <link>https://dev.to/chiragsoni2401/combine-database-and-saml-authentication-in-one-application-using-spring-security-4h61</link>
      <guid>https://dev.to/chiragsoni2401/combine-database-and-saml-authentication-in-one-application-using-spring-security-4h61</guid>
      <description>&lt;div class="ltag__stackexchange--container"&gt;
  &lt;div class="ltag__stackexchange--title-container"&gt;
    
      &lt;div class="ltag__stackexchange--title"&gt;
        &lt;h1&gt;
          &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--nfpfhxRD--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/stackoverflow-logo-7a8ef189e4f15e79cc8edc0cd3cff97b77dbaf61e8d5bee3c7507ace7d776b83.svg" alt=""&gt;
            &lt;a href="https://stackoverflow.com/questions/61182738/combine-database-and-saml-authentication-in-one-application-using-spring-securit" rel="noopener noreferrer"&gt;
               Combine database and SAML authentication in one application using spring security
            &lt;/a&gt;
        &lt;/h1&gt;
        &lt;div class="ltag__stackexchange--post-metadata"&gt;
          &lt;span&gt;Apr 13 '20&lt;/span&gt;
            &lt;span&gt;Comments: 1&lt;/span&gt;
            &lt;span&gt;Answers: 0&lt;/span&gt;
        &lt;/div&gt;
      &lt;/div&gt;
      &lt;a class="ltag__stackexchange--score-container" href="https://stackoverflow.com/questions/61182738/combine-database-and-saml-authentication-in-one-application-using-spring-securit" rel="noopener noreferrer"&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s---Gu-KklO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/stackexchange-arrow-up-d310ac55a57f00b74b1303a08e0f2e3cdea8fea5989fa5d70f506008aa86428b.svg" alt=""&gt;
        &lt;div class="ltag__stackexchange--score-number"&gt;
          0
        &lt;/div&gt;
        &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--nOzY64sa--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/stackexchange-arrow-down-fd895e09c6a93e39464cad43d727a293eae44c7228c087e86d478214a271c794.svg" alt=""&gt;
      &lt;/a&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--body"&gt;
    
&lt;p&gt;I am trying to implement authentication and authorization in the spring boot(2.2.4) app using spring security(spring-security-starter).&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Use Case:&lt;/strong&gt; Based on the username I want to redirect the user for the specific authentication provider&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;If username ends with &lt;em&gt;'mit.com'&lt;/em&gt; Authenticate User using database (I am using hibernate)- For this, I can…&lt;/li&gt;
&lt;/ul&gt;
    
  &lt;/div&gt;
  &lt;div class="ltag__stackexchange--btn--container"&gt;
    
      &lt;a href="https://stackoverflow.com/questions/61182738/combine-database-and-saml-authentication-in-one-application-using-spring-securit" rel="noopener noreferrer"&gt;Open Full Question&lt;/a&gt;
    
  &lt;/div&gt;
&lt;/div&gt;


</description>
    </item>
  </channel>
</rss>
