cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot view my storefront in SmartEdit for B2C

Former Member
0 Kudos

I am trying to configure smart edit for my storefront. I have the following extensions included in my localextensions.xml

 <extension name="cmssmartedit"/>
 <extension name="cmswebservices"/>
 <extension name="previewwebservices"/>
 <extension name="smartedit"/>
 <extension name='smarteditaddon' />
 <extension name="smarteditwebservices"/>

I have also added smarteditaddon as a dependency to my storefront.

Upon login to smart edit I get the below exception:

 WARN  [hybrisHTTP34] [RestHandlerExceptionResolver] Translating exception [org.springframework.security.access.AccessDeniedException]: Access is denied
 ERROR [hybrisHTTP34] [RestHandlerExceptionResolver] org.springframework.security.access.AccessDeniedException: Access is denied
         at org.springframework.security.access.vote.AffirmativeBased.decide(AffirmativeBased.java:83)
         at org.springframework.security.access.intercept.AbstractSecurityInterceptor.beforeInvocation(AbstractSecurityInterceptor.java:206)
         at org.springframework.security.access.intercept.aopalliance.MethodSecurityInterceptor.invoke(MethodSecurityInterceptor.java:60)
         at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)
         at org.springframework.aop.framework.CglibAopProxy$DynamicAdvisedInterceptor.intercept(CglibAopProxy.java:653)
         at de.hybris.smartedit.controllers.ConfigurationController$$EnhancerBySpringCGLIB$$c8260284.getConfiguration(<generated>)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
         at java.lang.reflect.Method.invoke(Method.java:497)
         at org.springframework.web.method.support.InvocableHandlerMethod.doInvoke(InvocableHandlerMethod.java:221)
         at org.springframework.web.method.support.InvocableHandlerMethod.invokeForRequest(InvocableHandlerMethod.java:137)
         at org.springframework.web.servlet.mvc.method.annotation.ServletInvocableHandlerMethod.invokeAndHandle(ServletInvocableHandlerMethod.java:110)
         at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.invokeHandleMethod(RequestMappingHandlerAdapter.java:776)
         at org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter.handleInternal(RequestMappingHandlerAdapter.java:705)
         at org.springframework.web.servlet.mvc.method.AbstractHandlerMethodAdapter.handle(AbstractHandlerMethodAdapter.java:85)
         at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:959)
         at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:893)
         at org.springframework.web.servlet.FrameworkServlet.processRequest(FrameworkServlet.java:967)
 ........

I am looking for suggestions on how to configure my storefront to be available for smart edit.

The hybris documentation unfortunately is not sufficient at the moment.

Former Member
0 Kudos

Hey , were you able to fix this issue??

Former Member
0 Kudos

Yes, See my answer below

View Entire Topic
Former Member
0 Kudos

Hello, the AccessDeniedException stacktrace will be removed next release. this is innocuous yet bothering trace.

arthurjs2
Explorer
0 Kudos

Hello Frederic. The stack trace is removed but the message is still spammed in our project.

INFO [hybrisHTTP48] [RestHandlerExceptionResolver] Translating exception [org.springframework.security.access.AccessDeniedException]: Access is denied

INFO [hybrisHTTP26] [RestHandlerExceptionResolver] Translating exception [org.springframework.security.access.AccessDeniedException]: Access is denied

INFO [hybrisHTTP49] [RestHandlerExceptionResolver] Translating exception [org.springframework.security.access.AccessDeniedException]: Access is denied

INFO [hybrisHTTP21] [RestHandlerExceptionResolver] Translating exception [org.springframework.security.access.AccessDeniedException]: Access is denied

INFO [hybrisHTTP29] [RestHandlerExceptionResolver] Translating exception [org.springframework.security.access.AccessDeniedException]: Access is denied

INFO [hybrisHTTP4] [RestHandlerExceptionResolver] Translating exception [org.springframework.security.access.AccessDeniedException]: Access is denied

INFO [hybrisHTTP34] [RestHandlerExceptionResolver] Translating exception [org.springframework.security.access.AccessDeniedException]: Access is denied

Any advice? This is on Hybris 1808