Skip to content

Commit

Permalink
Handle namespaces in IdP metadata XML. Fixes #7
Browse files Browse the repository at this point in the history
  • Loading branch information
handnot2 committed Nov 15, 2017
1 parent 423ecb5 commit c3aca8c
Show file tree
Hide file tree
Showing 15 changed files with 1,404 additions and 224 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# CHANGELOG

### v0.8.2

+ Handle namespaces in Identity Provider Metadata XML file

### v0.8.0

+ Added support for multiple Identity Providers. Check issue: #4.
Expand Down
3 changes: 3 additions & 0 deletions lib/samly/esaml.ex
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ defmodule Samly.Esaml do
import Record, only: [defrecord: 2, extract: 2]

@esaml_hrl "esaml/include/esaml.hrl"
@public_key_hrl "public_key/include/OTP-PUB-KEY.hrl"

defrecord :esaml_org, extract(:esaml_org, from_lib: @esaml_hrl)
defrecord :esaml_contact, extract(:esaml_contact, from_lib: @esaml_hrl)
defrecord :esaml_sp_metadata, extract(:esaml_sp_metadata, from_lib: @esaml_hrl)
Expand All @@ -16,4 +18,5 @@ defmodule Samly.Esaml do
defrecord :esaml_logoutresp, extract(:esaml_logoutresp, from_lib: @esaml_hrl)
defrecord :esaml_response, extract(:esaml_response, from_lib: @esaml_hrl)
defrecord :esaml_sp, extract(:esaml_sp, from_lib: @esaml_hrl)
defrecord :RSAPrivateKey, extract(:RSAPrivateKey, from_lib: @public_key_hrl)
end
Loading

0 comments on commit c3aca8c

Please sign in to comment.