OpenEdge 12.2.15 Spring security changes
- Last Updated: May 9, 2025
- 2 minute read
- OpenEdge
- Version 12.2
- Documentation
The OpenEdge 12.2.15 service pack includes Spring Security Framework 5.8.x, which replaces Spring Security Framework 5.3 shipped with OpenEdge 12.2.
12.2 Spring configuration files
In OpenEdge 12.2, each webapp has local copies of the Spring configuration files.
12.2.15 Spring configuration files
Standard changes
If you have no customizations, configure each webapp to use the files in $CATALINA_HOME/common/spring.
- For each webapp created prior to 12.2.15, open $CATALINA_BASE/webapps/webapp/WEB-INF/oeablSecurity.xml.
- Locate the
resourceattribute.<b:import resource="spring/${client.login.model}LoginModel.xml"/> - Update the
resourceattribute to reference the common Spring files located in ${CATALINA_HOME}/common/.<b:import resource="file:${CATALINA_HOME}/common/spring/${client.login.model}LoginModel.xml"/>Note: Using a$CATALINA_HOMEas the resource location ensures future Spring updates are automatically applied. - Save the changes.
- Restart the instance.
Custom changes
If you have customized files, you must copy the new files locally and apply the customizations to these new files.
- Back up existing custom configuration files.
- Replace the existing files for each webapp with the updated files from the $CATALINA_HOME/common/spring directory.
- Apply customizations to the replacement files.
- Save changes.
- Restart the instance.
OAuth2 changes
| OAuth2 files | Shared files |
|---|---|
| enableOAuth2ResourceServer.xml jwtFilters.xml oauth2AuthenticationManagerResolver.xml* oauth2Converters.xml* oauth2Decoders.xml* oauth2Validators.xml* |
oauth2UserDetails.xml* sharedAuthFilters.xml |
- Back up existing custom configuration files.
- Add new files for each webapp in existing instances.
- Replace the existing files for each webapp with the updated files from the $CATALINA_HOME/common/spring directory.
- Apply customizations to the replacement files.
- Save changes.
- Restart the instance.
SAML changes
| SAML files | Shared files |
|---|---|
|
enableSamlSecurity.xml saml2AuthenticationManagerResolver.xml* saml2RelyingPartyRegistration.xml* samlLoginModel.xml samlFilters.xml |
oauth2UserDetails.xml* sharedAuthFilters.xml |
- Copy new files.
- Replace the existing files for each webapp in the instance with the updated files from the $CATALINA_HOME/common/spring directory.
- Apply any customizations to the replacement files.
- Save changes.
- Restart the instance.