...
One abstract bean is defined for each available bean class, named after the class's simple name prefixed by "mda.
". For example, class="net.shibboleth.metadata.dom.XMLSignatureValidationStage"
can be replaced by parent="mda.XMLSignatureValidationStage"
; this The definition will also include the init-method
and destroy-method
properties for the bean when appropriate.
For example:
Code Block | ||
---|---|---|
| ||
<bean ... parent="mda.XMLSignatureValidationStage">
...
</bean> |
Migration assistance
The following beans are defined to assist with migration from previous versions of the MDA framework:
mda.RelocatedBeanFactoryPostProcessor
is an abstract bean providing access to the Shibboleth support class implementing the migration assistance functionality.mda.MigrationClassMap
is a<util:map>
from old class names to new class names.mda.MigrationBeanMap
is a<util:map>
from old bean names to new bean names.mda.MigrationAssistanceBean
is instantiated in every configuration and references the maps above; if it encounters one of the “old” names it logs a warning message and (where) changes your configuration on-the-fly to refer to the replacement name.
For example:
Code Block |
---|
WARN - Java class 'net.shibboleth.utilities.java.support.xml.SimpleNamespaceContext',
(Bean ID: commonNamespaces):
This will be removed in the next major version of this software;
replacement is net.shibboleth.metadata.dom.SimpleNamespaceContext |
Acting on these warnings is strongly recommended.
If you need to disable this functionality, you can define a mda.MigrationAssistanceBean
of your own after the <include>
of the resource; this can be of any type as its only purpose is to override the standard definition.
...