Skip to Content
author's profile photo Former Member
Former Member

Override backoffice spring xml files

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?

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Jul 02, 2019 at 06:10 PM

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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 02, 2019 at 09:13 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.