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

Spring security tag content not visible in SmartEdit

bfvossp
Explorer
0 Kudos
394

Hi, I'm having some issues using SmartEdit. Unfortunately, SmartEdit won't show content which is wrapped in an authorize tag from Spring (Taglib: http://www.springframework.org/security/tags). No matter if the condition in the tag is true or false SmartEdit won't show the wrapped content. When I access the page without using SmartEdit the content shows up as it should.

Does someone know how to fix this issue?

    <sec:authorize access="!hasAnyRole('ROLE_CUSTOMERGROUP')">
      <div class="span-6">
        <user:login />
      </div>
    </sec:authorize>

    <sec:authorize access="hasAnyRole('ROLE_CUSTOMERGROUP')">
      <div class="span-6">
        <user:summary />
      </div>
    </sec:authorize><br>

Normal context:

SmartEdit context:

P. S.: We use several storefronts and it works in other storefronts although it's the same content and the same roles.

Accepted Solutions (1)

Accepted Solutions (1)

bfvossp
Explorer
0 Kudos

The reason for the issue was a wrong configured Spring security config. After adjusting the UrlRequestMatcher it would show the content.

Answers (0)