Dynamic metadata plugin won't resolve metadata in some cases

Description

Due to refactoring, some metadata lookups that are performed from the opensaml message decoder code won't provide the right kind of metadata criteria object, causing the advanced dynamic plugin in the SP to fail the request.

This will end up manifesting during SSO, if a prior operation didn't preload the metadata or if the metadata expired in between.

To fix, we'll need the MetadataProvider interface to manufacture criteria objects on behalf of themselves.

Probably should propagate this pattern to other spots in the code.

Environment

None

Activity

Scott Cantor 
June 23, 2009 at 12:46 PM

Closing after releases.

Scott Cantor 
September 23, 2008 at 8:44 PM

The initial idea won't fly, since the metadata provider wouldn't have access to the Application object from the SP layer to use when it creates the custom criteria object.

The common thread in the current design is the SecurityPolicy class, which gets passed into all the decoders, so for now the policy object may be the place to manufacture criteria objects with the right decoration.

Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Created August 11, 2008 at 2:51 PM
Updated June 23, 2009 at 12:46 PM
Resolved September 24, 2008 at 12:13 PM