Pewarta Proxy

πŸ“‹ Server Request & Proxy Logs

Loading active proxy settings...
Developed by Khairul Adha (adhexa.id)
Mengambil log server...

βš™οΈ Pengaturan Proxy Target

Skip to content

About

Java SAML 2.0 Example

Topics

Resources

Stars

16 stars

Watchers

1 watching

Forks

Latest commit

Β 

History

56 Commits

Folders and files

Repository files navigation

Java SAML Example

예제 SAML SSO μΌ€μ΄μŠ€ - SP-Initiated SSO : Redirect/POST Bindings

SAML μ—¬λŸ¬ μ‚¬μš© μΌ€μ΄μŠ€ 쀑 SP-Initiated SSO : Redirect/POST Bindings ν…ŒμŠ€νŠΈ κ°€λŠ₯ν•©λ‹ˆλ‹€.

μ‹€ν–‰ ν™˜κ²½

  • Java 1.8+

μ‹€ν–‰ ν•˜κΈ°

1. μ†ŒμŠ€ λ‹€μš΄λ‘œλ“œ

git clone https://github.com/acafela/java-saml-example.git
cd java-saml-example

2. Identity Provider μ‹€ν–‰

./gradlew :saml-example-idp:bootRun

3. Service Provider μ‹€ν–‰

./gradlew :saml-example-sp:bootRun
  • Identity Provider 인증 νŽ˜μ΄μ§€λ‘œ λ¦¬λ‹€μ΄λ ‰νŠΈ

5. Identity Provider 인증 νŽ˜μ΄μ§€μ—μ„œ ID/PWD μž…λ ₯ν•΄ 둜그인

  • admin / admin123 or user / user123

6. 인증 성곡

Service Provider μ£Όμš” 클래슀

  • SamlAssertionConsumeFilter : Assertion consume url 처리 ν•„ν„°, AbstractAuthenticationProcessingFilter ν™•μž₯ 클래슀
  • SimpleSamlAssertionConsumer : SAML Response 검증 ν›„ UserDetails 생성
  • SamlSsoEntryPoint : SAML Request redirect, AuthenticationEntryPoint κ΅¬ν˜„

Identity Provider μ£Όμš” 클래슀

  • SamlResponseFilter : SAML Response 전달을 μœ„ν•œ ν•„ν„°

Reference

About

Java SAML 2.0 Example

Topics

Resources

Stars

16 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages