|
|
|
@ -28,7 +28,8 @@ |
|
|
|
<intercept-url pattern="/**" access="IS_AUTHENTICATED_ANONYMOUSLY" /> |
|
|
|
<intercept-url pattern="/**" access="IS_AUTHENTICATED_ANONYMOUSLY" /> |
|
|
|
<!-- |
|
|
|
<!-- |
|
|
|
Uncomment to enable X509 client authentication support |
|
|
|
Uncomment to enable X509 client authentication support |
|
|
|
<x509 /> --> |
|
|
|
<x509 /> |
|
|
|
|
|
|
|
--> |
|
|
|
|
|
|
|
|
|
|
|
<!-- All of this is unnecessary if auto-config="true" |
|
|
|
<!-- All of this is unnecessary if auto-config="true" |
|
|
|
<form-login /> |
|
|
|
<form-login /> |
|
|
|
@ -37,27 +38,11 @@ |
|
|
|
<logout /> |
|
|
|
<logout /> |
|
|
|
<remember-me /> --> |
|
|
|
<remember-me /> --> |
|
|
|
|
|
|
|
|
|
|
|
<!-- |
|
|
|
<!-- Uncomment to limit the number of sessions a user can have |
|
|
|
<concurrent-session-control max-sessions="1" exception-if-maximum-exceeded="true"/> |
|
|
|
<concurrent-session-control max-sessions="1" exception-if-maximum-exceeded="true"/> |
|
|
|
--> |
|
|
|
--> |
|
|
|
|
|
|
|
|
|
|
|
</http> |
|
|
|
</http> |
|
|
|
|
|
|
|
|
|
|
|
<!-- |
|
|
|
|
|
|
|
Uncomment to add X509 support as an external filter definition (an alternative to the <x509 /> element). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<beans:bean id="x509Filter" class="org.springframework.security.ui.preauth.x509.X509PreAuthenticatedProcessingFilter" autowire="byType"> |
|
|
|
|
|
|
|
<custom-filter after="X509_FILTER"/> |
|
|
|
|
|
|
|
</beans:bean> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<beans:bean id="preauthProvider" class="org.springframework.security.providers.preauth.PreAuthenticatedAuthenticationProvider" > |
|
|
|
|
|
|
|
<custom-authentication-provider /> |
|
|
|
|
|
|
|
<beans:property name="preAuthenticatedUserDetailsService"> |
|
|
|
|
|
|
|
<beans:bean class="org.springframework.security.providers.preauth.UserDetailsByNameServiceWrapper" autowire="byType"/> |
|
|
|
|
|
|
|
</beans:property> |
|
|
|
|
|
|
|
</beans:bean> |
|
|
|
|
|
|
|
--> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- |
|
|
|
<!-- |
|
|
|
Usernames/Passwords are |
|
|
|
Usernames/Passwords are |
|
|
|
rod/koala |
|
|
|
rod/koala |
|
|
|
|