cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Override backoffice spring xml files

0 Likes
913

I am not able to override backoffice-spring-security.xml I have created -backoffice-spring-security.xml but this is not working.

I am doing this for setting maximum backffice concurrent session to 1.

Can someone help?

Accepted Solutions (0)

Answers (2)

Answers (2)

arvind-kumar_avinash
Active Contributor
0 Likes

Please add the following in the project.properties file of your custombackofficeext and import your spring-security.xml in the import.xml:

 HybrisBackoffice.additionalWebSpringConfigs.mybackoffice=classpath:/custombackofficeext/spring/import.xml

where custombackofficeext/spring is a folder structure inside custombackofficeext/resources.

You can check hybris/bin/ext-template/yacceleratorcockpits/project.properties for an example.

saood
Participant
0 Likes

Did you defined your xml in backoffice-web-spring.xml. like: <import resource="classpath:/META-INF/standard-editors-spring.xml"/>