Skip to content

Commit

Permalink
[SHIBUI-704]
Browse files Browse the repository at this point in the history
updated dev config
set metadata filter for dhmr
  • Loading branch information
jj committed Nov 28, 2018
1 parent 1c70e77 commit 972fdc1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ class DevConfig {
return it
}
it.attributeRelease = ['eduPersonPrincipalName', 'givenName', 'surname', 'mail']
it.relyingPartyOverrides = null
return it
})
return it
Expand All @@ -88,10 +89,11 @@ class DevConfig {
it.filterEnabled = true
it.entityAttributesFilterTarget = new EntityAttributesFilterTarget().with {
it.entityAttributesFilterTargetType = EntityAttributesFilterTarget.EntityAttributesFilterTargetType.ENTITY
it.value = ["https://carmenwiki.osu.edu/shibboleth"]
it.value = ["https://issues.shibboleth.net/shibboleth"]
return it
}
it.attributeRelease = ['eduPersonPrincipalName', 'givenName', 'surname', 'mail']
it.relyingPartyOverrides = null
return it
})
return it
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import org.apache.http.impl.client.HttpClients;
import org.apache.lucene.index.IndexWriter;
import org.apache.velocity.app.VelocityEngine;
import org.opensaml.saml.metadata.resolver.filter.MetadataFilterChain;
import org.opensaml.saml.metadata.resolver.impl.FunctionDrivenDynamicHTTPMetadataResolver;
import org.opensaml.saml.metadata.resolver.impl.MetadataQueryProtocolRequestURLBuilder;
import org.opensaml.saml.metadata.resolver.impl.RegexRequestURLBuilder;
Expand Down Expand Up @@ -40,6 +41,8 @@ public OpenSamlFunctionDrivenDynamicHTTPMetadataResolver(ParserPool parserPool,

this.setSupportedContentTypes(sourceResolver.getSupportedContentTypes());

this.setMetadataFilter(new MetadataFilterChain());

//TODO: These don't seem to be used anywhere.
// In the parser, if not null, a warning is logged .. but nothing else happens with them.
// sourceResolver.getMaxConnectionsPerRoute();
Expand Down

0 comments on commit 972fdc1

Please sign in to comment.