From e70618c198573d12fd03ad41fa11969f539888dc Mon Sep 17 00:00:00 2001 From: Choon-Chern Lim Date: Wed, 13 Apr 2016 18:29:11 -0500 Subject: [PATCH] v0.3.3 --- CHANGELOG.md | 3 +++ README.md | 2 +- pom.xml | 2 +- .../adfs/saml2/SAMLWebSecurityConfigurerAdapter.java | 6 ++++-- 4 files changed, 9 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9deabad..4bc76e3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Change Log +## 0.3.3 - 2016-04-13 +* Inject Spring environment to get access to project properties file. ([#1](https://github.com/choonchernlim/spring-security-adfs-saml2/pull/1)) + ## 0.3.2 - 2016-03-14 * Used `SAMLContextProviderLB` instead of `SAMLContextProviderImpl` to handle servers doing SSL termination. diff --git a/README.md b/README.md index 54a2cee..3bbd29b 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Tested against IdP's environments:- com.github.choonchernlim spring-security-adfs-saml2 - 0.3.2 + 0.3.3 ``` diff --git a/pom.xml b/pom.xml index 0073202..540b351 100644 --- a/pom.xml +++ b/pom.xml @@ -10,7 +10,7 @@ spring-security-adfs-saml2 - 0.3.2 + 0.3.3 jar Spring Security ADFS SAML2 diff --git a/src/main/java/com/github/choonchernlim/security/adfs/saml2/SAMLWebSecurityConfigurerAdapter.java b/src/main/java/com/github/choonchernlim/security/adfs/saml2/SAMLWebSecurityConfigurerAdapter.java index fb75584..b1a7f8c 100644 --- a/src/main/java/com/github/choonchernlim/security/adfs/saml2/SAMLWebSecurityConfigurerAdapter.java +++ b/src/main/java/com/github/choonchernlim/security/adfs/saml2/SAMLWebSecurityConfigurerAdapter.java @@ -72,7 +72,6 @@ import org.springframework.security.web.util.matcher.AntPathRequestMatcher; import javax.annotation.PostConstruct; -import javax.inject.Inject; import java.util.Timer; /** @@ -81,7 +80,10 @@ */ public abstract class SAMLWebSecurityConfigurerAdapter extends WebSecurityConfigurerAdapter { - @Inject + /** + * Provides an opportunity for child class to access Spring environment, if needed. + */ + @Autowired protected Environment env; @Autowired