[java-identity-provider] branch master updated: IDP-1365 - rpUIContext not populated from CAS metadata

Scott Cantor cantor.2 at osu.edu
Mon Dec 10 14:56:02 EST 2018


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch master
in repository java-identity-provider.

View the commit online:
http://git.shibboleth.net/view/?p=java-identity-provider.git;a=commit;h=d7e4e8cc81f5ff99435f3d1a570caf46a6c3b1f1

The following commit(s) were added to refs/heads/master by this push:
       new  d7e4e8c   IDP-1365 - rpUIContext not populated from CAS metadata
d7e4e8c is described below

commit d7e4e8cc81f5ff99435f3d1a570caf46a6c3b1f1
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Dec 10 14:56:00 2018 -0500

    IDP-1365 - rpUIContext not populated from CAS metadata
    
    https://issues.shibboleth.net/jira/browse/IDP-1365
    
    Better cross-protocol default for metadata context lookup.
---
 .../main/java/net/shibboleth/idp/ui/impl/SetRPUIInformation.java   | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/idp-ui/src/main/java/net/shibboleth/idp/ui/impl/SetRPUIInformation.java b/idp-ui/src/main/java/net/shibboleth/idp/ui/impl/SetRPUIInformation.java
index 384aaf0..9907335 100644
--- a/idp-ui/src/main/java/net/shibboleth/idp/ui/impl/SetRPUIInformation.java
+++ b/idp-ui/src/main/java/net/shibboleth/idp/ui/impl/SetRPUIInformation.java
@@ -27,6 +27,7 @@ import javax.annotation.Nullable;
 
 import net.shibboleth.idp.authn.context.AuthenticationContext;
 import net.shibboleth.idp.profile.AbstractProfileAction;
+import net.shibboleth.idp.saml.profile.context.navigate.SAMLMetadataContextLookupFunction;
 import net.shibboleth.idp.ui.context.RelyingPartyUIContext;
 import net.shibboleth.utilities.java.support.annotation.constraint.NonnullElements;
 import net.shibboleth.utilities.java.support.collection.LazyList;
@@ -38,10 +39,8 @@ import org.opensaml.messaging.context.navigate.ChildContextLookup;
 import org.opensaml.profile.action.ActionSupport;
 import org.opensaml.profile.action.EventIds;
 import org.opensaml.profile.context.ProfileRequestContext;
-import org.opensaml.profile.context.navigate.OutboundMessageContextLookup;
 import org.opensaml.saml.common.messaging.context.AttributeConsumingServiceContext;
 import org.opensaml.saml.common.messaging.context.SAMLMetadataContext;
-import org.opensaml.saml.common.messaging.context.SAMLPeerEntityContext;
 import org.opensaml.saml.ext.saml2mdui.UIInfo;
 import org.opensaml.saml.saml2.metadata.AttributeConsumingService;
 import org.opensaml.saml.saml2.metadata.EntityDescriptor;
@@ -96,9 +95,7 @@ public class SetRPUIInformation extends AbstractProfileAction {
 
     /** Constructor. */
     public SetRPUIInformation() {
-        metadataContextLookupStrategy =
-                Functions.compose(new ChildContextLookup<>(SAMLMetadataContext.class), Functions.compose(
-                        new ChildContextLookup<>(SAMLPeerEntityContext.class), new OutboundMessageContextLookup()));
+        metadataContextLookupStrategy = new SAMLMetadataContextLookupFunction();
 
         rpUIContextCreateStrategy =
                 Functions.compose(new ChildContextLookup<>(RelyingPartyUIContext.class, true),

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list