-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #50 from MiamiOH/Release_1_1_dev
Release 1 1 dev
- Loading branch information
Showing
12 changed files
with
47 additions
and
78 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
templates/shibboleth/attribute_resolver/_attribute_resolver_foot.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
|
||
</resolver:AttributeResolver> | ||
</AttributeResolver> |
29 changes: 4 additions & 25 deletions
29
templates/shibboleth/attribute_resolver/_attribute_resolver_head.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,5 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<!-- | ||
This file is an EXAMPLE configuration file containing lots of commented | ||
example attributes, encoders, and a couple of example data connectors. | ||
Not all attribute definitions or data connectors are demonstrated, but | ||
a variety of LDAP attributes, some common to Shibboleth deployments and | ||
many not, are included. | ||
Deployers should refer to the Shibboleth 2 documentation for a complete | ||
list of components and their options. | ||
--> | ||
<resolver:AttributeResolver | ||
xmlns:resolver="urn:mace:shibboleth:2.0:resolver" | ||
xmlns:pc="urn:mace:shibboleth:2.0:resolver:pc" | ||
xmlns:ad="urn:mace:shibboleth:2.0:resolver:ad" | ||
xmlns:dc="urn:mace:shibboleth:2.0:resolver:dc" | ||
xmlns:enc="urn:mace:shibboleth:2.0:attribute:encoder" | ||
xmlns:sec="urn:mace:shibboleth:2.0:security" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="urn:mace:shibboleth:2.0:resolver http://shibboleth.net/schema/idp/shibboleth-attribute-resolver.xsd | ||
urn:mace:shibboleth:2.0:resolver:pc http://shibboleth.net/schema/idp/shibboleth-attribute-resolver-pc.xsd | ||
urn:mace:shibboleth:2.0:resolver:ad http://shibboleth.net/schema/idp/shibboleth-attribute-resolver-ad.xsd | ||
urn:mace:shibboleth:2.0:resolver:dc http://shibboleth.net/schema/idp/shibboleth-attribute-resolver-dc.xsd | ||
urn:mace:shibboleth:2.0:attribute:encoder http://shibboleth.net/schema/idp/shibboleth-attribute-encoder.xsd | ||
urn:mace:shibboleth:2.0:security http://shibboleth.net/schema/idp/shibboleth-security.xsd"> | ||
<AttributeResolver | ||
xmlns="urn:mace:shibboleth:2.0:resolver" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="urn:mace:shibboleth:2.0:resolver http://shibboleth.net/schema/idp/shibboleth-attribute-resolver.xsd"> |
19 changes: 8 additions & 11 deletions
19
templates/shibboleth/attribute_resolver/_dataconnector.erb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,16 @@ | ||
<resolver:DataConnector id="<%= @id %>" xsi:type="dc:<%= @type %>" | ||
<DataConnector id="<%= @id %>" xsi:type="<%= @type %>" | ||
ldapURL="%{idp.attribute.resolver.<%= @id %>.ldapURL}" | ||
baseDN="%{idp.attribute.resolver.<%= @id %>.baseDN}" | ||
principal="%{idp.attribute.resolver.<%= @id %>.bindDN}" | ||
principalCredential="%{idp.attribute.resolver.<%= @id %>.bindDNCredential}" | ||
useStartTLS="%{idp.attribute.resolver.<%= @id %>.useStartTLS:true}"> | ||
<dc:FilterTemplate> | ||
useStartTLS="%{idp.attribute.resolver.<%= @id %>.useStartTLS:true}" | ||
<%- if @ldap_tls_trust_cert -%>trustFile="%{idp.attribute.resolver.<%= @id %>.trustCertificates}"<%- end -%> | ||
> | ||
<FilterTemplate> | ||
<![CDATA[ | ||
%{idp.attribute.resolver.<%= @id %>.searchFilter} | ||
]]> | ||
</dc:FilterTemplate> | ||
<%- if @ldap_trust_cert_source -%> | ||
<dc:StartTLSTrustCredential id="<%= @id %>toIdPCredential" xsi:type="sec:X509ResourceBacked"> | ||
<sec:Certificate>%{idp.attribute.resolver.<%= @id %>.trustCertificates}</sec:Certificate> | ||
</dc:StartTLSTrustCredential> | ||
<%- end -%> | ||
<!-- <ReturnAttributes>%{idp.attribute.resolver.<%= @id %>.returnAttributes}</ReturnAttributes> --> | ||
</resolver:DataConnector> | ||
</FilterTemplate> | ||
<ReturnAttributes>%{idp.attribute.resolver.<%= @id %>.returnAttributes}</ReturnAttributes> | ||
</DataConnector> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters