Skip to content

shahcoding/okta-spring-security-saml-db-example

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Security + SAML and Database Authentication

This example shows how to build a Spring Boot application that leverages Spring Security for SAML and database authentication.

Please read Spring Security SAML and Database Authentication to see how this example was created.

Prerequisites:

Okta has Authentication and User Management APIs that reduce development time with instant-on, scalable user infrastructure. Okta's intuitive API and expert support make it easy for developers to authenticate, manage and secure users and roles in any application.

Getting Started

To install this example application, run the following commands:

git clone https://github.com/oktadeveloper/okta-spring-security-saml-db-example.git
cd okta-spring-security-saml-db-example

This will get a copy of the project installed locally. To install all of its dependencies and start each app, follow the instructions below.

Spring Security Configuration

Please see Set Up Your Okta Account with SAML and Run the Application to see how to configure a SAML app on Okta.

After you've configured everything, start your app.

mvn spring-boot:run

Open your browser to http://localhost:8080 and login using SAML or database credentials.

Links

This example uses the following open source libraries from Okta:

Help

Please post any questions as comments on the blog post, or visit our Okta Developer Forums.

License

Apache 2.0, see LICENSE.

About

Spring Security + SAML and Database Authentication

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 88.2%
  • HTML 11.6%
  • CSS 0.2%