Hi Marten,
first of all, thanks for your reply. For the entry-point stuff etc. I sticked to that: http://www.harezmi.com.tr/allowing-r...ement/?lang=en, which seems to work so far. Do you have a good resource I could grab and get along with?
Code:
<global-method-security pre-post-annotations="enabled"/>
<beans:bean id="baseAuthenticationProvider" class="de.cloudscale.security.BaseAuthenticationProvider"/>
<beans:bean id="authenticationEntryPoint"
class="de.cloudscale.security.Http401DeniedEntryPoint"/>
<beans:bean id="baseAuthenticationSuccessHandler"
class="de.cloudscale.security.BaseAuthenticationSuccessHandler"/>
<beans:bean id="baseAuthenticationFailureHandler"
class="de.cloudscale.security.BaseAuthenticationFailureHandler"/>
<beans:bean id="baseLogoutSuccessHandler"
class="de.cloudscale.security.BaseLogoutSuccessHandler"/>
<beans:bean id="encoder" class="org.springframework.security.crypto.password.StandardPasswordEncoder"/>
<http auto-config="true" use-expressions="true" entry-point-ref="authenticationEntryPoint">
<form-login login-processing-url="/login"
authentication-success-handler-ref="baseAuthenticationSuccessHandler"
authentication-failure-handler-ref="baseAuthenticationFailureHandler"/>
<logout success-handler-ref="baseLogoutSuccessHandler" />
<intercept-url pattern="/user/**" access="isAuthenticated()" method="PUT" />
</http>
<authentication-manager>
<authentication-provider>
<password-encoder ref="encoder" />
<user-service>
<user name="rod"
password="864acff7515e4e419d4266e474ea14a889dce340784038b704a30453e01245eed374f881f3df8e1e"
authorities="user" />
</user-service>
</authentication-provider>
</authentication-manager>
Current state of application-security.xml
Regards,
Johannes