Skip to content

Commit

Permalink
0.3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Choon-Chern Lim committed Mar 11, 2016
1 parent c8a0342 commit fafc06b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Tested against:-
<dependency>
<groupId>com.github.choonchernlim</groupId>
<artifactId>spring-security-adfs-saml2</artifactId>
<version>0.2.2</version>
<version>0.3.1</version>
</dependency>
```

Expand All @@ -46,6 +46,7 @@ class AppSecurityConfig extends SAMLWebSecurityConfigurerAdapter {
@Override
protected SAMLConfigBean samlConfigBean() {
return new SAMLConfigBeanBuilder()
.setSpMetadataBaseUrl("https://localhost:8443/my-app")
.setAdfsHostName("idp-adfs-server")
.setKeystoreResource(new DefaultResourceLoader().getResource("classpath:keystore.jks"))
.setKeystorePassword("storepass")
Expand Down Expand Up @@ -90,6 +91,7 @@ class AppSecurityConfig extends SAMLWebSecurityConfigurerAdapter {

|Property |Required? |Description |
|---------------------------|----------|----------------------------------------------------------------------------------------------------------|
|spMetadataBaseUrl |Yes |Sp's metadata base URL with format `https://server(:port)/contextPath` for constructing SAML endpoints (ex: `/saml/**`). This configuration is important to prevent servers doing SSL termination from generating wrong endpoints.|
|adfsHostName |Yes |ADFS host name without HTTPS protocol.<p>If ADFS link is `https://idp-adfs-server/adfs/ls`, the value should be `idp-adfs-server`.|
|keystoreResource |Yes |App's keystore containing its public/private key and ADFS' certificate with public key. |
|keystorePassword |Yes |Password to access app's keystore. |
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>

<artifactId>spring-security-adfs-saml2</artifactId>
<version>0.3.1-SNAPSHOT</version>
<version>0.3.1</version>
<packaging>jar</packaging>

<name>Spring Security ADFS SAML2</name>
Expand Down

0 comments on commit fafc06b

Please sign in to comment.