Where to define audit override beans?

Christopher Bongaarts cab at umn.edu
Mon Apr 22 23:41:15 UTC 2024


Trying to override some of the beans around audit logging in order to 
eliminate some of the last vestiges of our monkeying with unmonkeyable 
IdP stuff.  5.1.1 (.2 tomorrow).   Based on the CAS example and other 
docs on the AuditLoggingConfiguration page on the wiki:

      <bean id="shibboleth.authn.Password.AuditExtractors" 
parent="shibboleth.authn.Password.DefaultAuditExtractors" lazy-init="true">
[...]

gives a similar error regardless of whether I put it in conf/audit.xml 
or conf/authn/general-authn.xml:

Caused by: 
org.springframework.beans.factory.BeanDefinitionStoreException: Invalid 
bean definition with name 'shibboleth.authn.Password.AuditExtractors' 
defined in file [/swadm/shibboleth-idp/conf/authn/general-authn.xml]: 
Could not resolve parent bean definition 
'shibboleth.authn.Password.DefaultAuditExtractors'
[...]
Caused by: 
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean 
named 'shibboleth.authn.Password.DefaultAuditExtractors' available

I still have a lot of original .xml files that haven't been converted to 
their .properties forms yet.  Not sure whether that would play a role.

-- 
%%  Christopher A. Bongaarts   %%  cab at umn.edu          %%
%%  OIT - Identity Management  %%  http://umn.edu/~cab  %%
%%  University of Minnesota    %%  +1 (612) 625-1809    %%



More information about the dev mailing list