Now I have commented the anonymous one and getting the below exception log
My applicationContext-security.xml configuration is as below
Code:
<http auto-config="false" >
<intercept-url pattern='/login.htm*' filters='none' />
<intercept-url pattern='/component.htm*' filters='none' />
<intercept-url pattern='/superPackage.htm*' access='ROLE_USER' />
<form-login login-page='/login.htm' />
<!-- <anonymous granted-authority="" key="" username=""/>-->
</http>
<authentication-provider user-service-ref="crowdUserDetailsService"></authentication-provider>
<beans:bean id="crowdUserDetailsService"
class="com.atlassian.crowd.integration.springsecurity.user.CrowdUserDetailsServiceImpl">
<beans:property name="authenticationManager" ref="crowdAuthenticationManager" />
<beans:property name="groupMembershipManager" ref="crowdGroupMembershipManager" />
<beans:property name="userManager" ref="crowdUserManager" />
<beans:property name="authorityPrefix" value="ROLE_" />
</beans:bean>
<beans:bean id="crowdAuthenticationProvider"
class="com.atlassian.crowd.integration.springsecurity.RemoteCrowdAuthenticationProvider">
<custom-authentication-provider />
<beans:constructor-arg ref="crowdAuthenticationManager" />
<beans:constructor-arg ref="httpAuthenticator" />
<beans:constructor-arg ref="crowdUserDetailsService" />
</beans:bean>