├── .gitignore ├── README.md ├── gradle └── wrapper │ ├── gradle-wrapper.jar │ └── gradle-wrapper.properties ├── gradlew ├── gradlew.bat ├── saml-example-idp ├── build.gradle └── src │ └── main │ ├── java │ └── saml │ │ └── example │ │ └── idp │ │ ├── AbstractSamlPrincipalFactory.java │ │ ├── KeyStoreLocator.java │ │ ├── LocalSamlPrincipalFactory.java │ │ ├── SamlAttribute.java │ │ ├── SamlBuilder.java │ │ ├── SamlIdpApplication.java │ │ ├── SamlMessageHandler.java │ │ ├── SamlPrincipal.java │ │ ├── SamlResponseFilter.java │ │ └── WebSecurityConfigurer.java │ └── resources │ ├── application.yml │ ├── public │ └── login.js │ └── templates │ ├── error.html │ ├── index.html │ └── login.html ├── saml-example-sp ├── build.gradle └── src │ └── main │ ├── java │ └── saml │ │ └── example │ │ └── sp │ │ ├── SamlAssertionConsumeFilter.java │ │ ├── SamlAssertionConsumer.java │ │ ├── SamlAuthenticationProvider.java │ │ ├── SamlAuthenticationToken.java │ │ ├── SamlContext.java │ │ ├── SamlContextProvider.java │ │ ├── SamlPreAuthenticationToken.java │ │ ├── SamlSpApplication.java │ │ ├── SamlSsoEntryPoint.java │ │ ├── SamlUserDetails.java │ │ ├── SamlUtil.java │ │ ├── SimpleSamlAssertionConsumer.java │ │ └── WebSecurityConfigurer.java │ └── resources │ ├── application.yml │ └── templates │ ├── index.html │ └── user.html └── settings.gradle /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/.gitignore -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/README.md -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.jar: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/gradle/wrapper/gradle-wrapper.jar -------------------------------------------------------------------------------- /gradle/wrapper/gradle-wrapper.properties: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/gradle/wrapper/gradle-wrapper.properties -------------------------------------------------------------------------------- /gradlew: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/gradlew -------------------------------------------------------------------------------- /gradlew.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/gradlew.bat -------------------------------------------------------------------------------- /saml-example-idp/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-idp/build.gradle -------------------------------------------------------------------------------- /saml-example-idp/src/main/java/saml/example/idp/AbstractSamlPrincipalFactory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-idp/src/main/java/saml/example/idp/AbstractSamlPrincipalFactory.java -------------------------------------------------------------------------------- /saml-example-idp/src/main/java/saml/example/idp/KeyStoreLocator.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-idp/src/main/java/saml/example/idp/KeyStoreLocator.java -------------------------------------------------------------------------------- /saml-example-idp/src/main/java/saml/example/idp/LocalSamlPrincipalFactory.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-idp/src/main/java/saml/example/idp/LocalSamlPrincipalFactory.java -------------------------------------------------------------------------------- /saml-example-idp/src/main/java/saml/example/idp/SamlAttribute.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-idp/src/main/java/saml/example/idp/SamlAttribute.java -------------------------------------------------------------------------------- /saml-example-idp/src/main/java/saml/example/idp/SamlBuilder.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-idp/src/main/java/saml/example/idp/SamlBuilder.java -------------------------------------------------------------------------------- /saml-example-idp/src/main/java/saml/example/idp/SamlIdpApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-idp/src/main/java/saml/example/idp/SamlIdpApplication.java -------------------------------------------------------------------------------- /saml-example-idp/src/main/java/saml/example/idp/SamlMessageHandler.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-idp/src/main/java/saml/example/idp/SamlMessageHandler.java -------------------------------------------------------------------------------- /saml-example-idp/src/main/java/saml/example/idp/SamlPrincipal.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-idp/src/main/java/saml/example/idp/SamlPrincipal.java -------------------------------------------------------------------------------- /saml-example-idp/src/main/java/saml/example/idp/SamlResponseFilter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-idp/src/main/java/saml/example/idp/SamlResponseFilter.java -------------------------------------------------------------------------------- /saml-example-idp/src/main/java/saml/example/idp/WebSecurityConfigurer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-idp/src/main/java/saml/example/idp/WebSecurityConfigurer.java -------------------------------------------------------------------------------- /saml-example-idp/src/main/resources/application.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-idp/src/main/resources/application.yml -------------------------------------------------------------------------------- /saml-example-idp/src/main/resources/public/login.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-idp/src/main/resources/public/login.js -------------------------------------------------------------------------------- /saml-example-idp/src/main/resources/templates/error.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-idp/src/main/resources/templates/error.html -------------------------------------------------------------------------------- /saml-example-idp/src/main/resources/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-idp/src/main/resources/templates/index.html -------------------------------------------------------------------------------- /saml-example-idp/src/main/resources/templates/login.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-idp/src/main/resources/templates/login.html -------------------------------------------------------------------------------- /saml-example-sp/build.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-sp/build.gradle -------------------------------------------------------------------------------- /saml-example-sp/src/main/java/saml/example/sp/SamlAssertionConsumeFilter.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-sp/src/main/java/saml/example/sp/SamlAssertionConsumeFilter.java -------------------------------------------------------------------------------- /saml-example-sp/src/main/java/saml/example/sp/SamlAssertionConsumer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-sp/src/main/java/saml/example/sp/SamlAssertionConsumer.java -------------------------------------------------------------------------------- /saml-example-sp/src/main/java/saml/example/sp/SamlAuthenticationProvider.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-sp/src/main/java/saml/example/sp/SamlAuthenticationProvider.java -------------------------------------------------------------------------------- /saml-example-sp/src/main/java/saml/example/sp/SamlAuthenticationToken.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-sp/src/main/java/saml/example/sp/SamlAuthenticationToken.java -------------------------------------------------------------------------------- /saml-example-sp/src/main/java/saml/example/sp/SamlContext.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-sp/src/main/java/saml/example/sp/SamlContext.java -------------------------------------------------------------------------------- /saml-example-sp/src/main/java/saml/example/sp/SamlContextProvider.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-sp/src/main/java/saml/example/sp/SamlContextProvider.java -------------------------------------------------------------------------------- /saml-example-sp/src/main/java/saml/example/sp/SamlPreAuthenticationToken.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-sp/src/main/java/saml/example/sp/SamlPreAuthenticationToken.java -------------------------------------------------------------------------------- /saml-example-sp/src/main/java/saml/example/sp/SamlSpApplication.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-sp/src/main/java/saml/example/sp/SamlSpApplication.java -------------------------------------------------------------------------------- /saml-example-sp/src/main/java/saml/example/sp/SamlSsoEntryPoint.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-sp/src/main/java/saml/example/sp/SamlSsoEntryPoint.java -------------------------------------------------------------------------------- /saml-example-sp/src/main/java/saml/example/sp/SamlUserDetails.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-sp/src/main/java/saml/example/sp/SamlUserDetails.java -------------------------------------------------------------------------------- /saml-example-sp/src/main/java/saml/example/sp/SamlUtil.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-sp/src/main/java/saml/example/sp/SamlUtil.java -------------------------------------------------------------------------------- /saml-example-sp/src/main/java/saml/example/sp/SimpleSamlAssertionConsumer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-sp/src/main/java/saml/example/sp/SimpleSamlAssertionConsumer.java -------------------------------------------------------------------------------- /saml-example-sp/src/main/java/saml/example/sp/WebSecurityConfigurer.java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-sp/src/main/java/saml/example/sp/WebSecurityConfigurer.java -------------------------------------------------------------------------------- /saml-example-sp/src/main/resources/application.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-sp/src/main/resources/application.yml -------------------------------------------------------------------------------- /saml-example-sp/src/main/resources/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-sp/src/main/resources/templates/index.html -------------------------------------------------------------------------------- /saml-example-sp/src/main/resources/templates/user.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/saml-example-sp/src/main/resources/templates/user.html -------------------------------------------------------------------------------- /settings.gradle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/acafela/java-saml-example/HEAD/settings.gradle --------------------------------------------------------------------------------