A null @NonnullAfterInit getId() ?

Tom Zeller tzeller at dragonacea.biz
Mon Nov 6 12:37:32 EST 2017


>>> Of course not all components are initializable ones.
>> 
>> Or possibly the initialize() call isn't wired up in the Spring context.

Turns out that the RelyingPartyMetadataProvider has the null id.

To “fix”, I (1) added the shibboleth.IdentifiableBeanPostProcessor to the shibboleth.MetadataResolverService’s beanPostProcessors, (2) added 'implements IdentifiableComponent' to the RelyingPartyMetadataProvider, and (3) added setId() to RelyingPartyMetadataProvider.

Tom






More information about the dev mailing list