Skip to Content
0
Former Member
Jan 25, 2017 at 04:35 AM

Powertool site login with employee throws filter chain exception

250 Views

hi,

I am using Hybris 6.0 with powertool site. My login functionality is working fine if i enter b2b customer id and password. For testing purpose i tried to enter id and password of an employee, If the id and password is correct it shows a spring filter chain exception. Please help me to solve the issue. How to Stop employee from login, why spring filter chain exception is thrown.

i have added

 <bean id="b2bUserGroupProvider" class="de.hybris.platform.b2bacceleratoraddon.security.impl.DefaultB2BUserGroupProvider"
         scope="tenant">
         <property name="userService" ref="userService" />
         <property name="b2BCustomerService" ref="defaultB2BCustomerService" />
         <property name="authorizedGroups">
             <set value-type="java.lang.String">
                 <value>b2bcustomergroup</value>
                 <value>b2bmanagergroup</value>
                 <value>b2bapprovergroup</value>
                 <value>b2badmingroup</value>
             </set>
         </property>
         <property name="authorizedGroupsToCheckOut">
             <set value-type="java.lang.String">
                 <value>b2bcustomergroup</value>
             </set>
         </property>
     </bean>