Hello,
Here is my problem:
I use Spring-Security for my jee application.
By default, the authentification mecanism redirect the user on the "home", but it's possible to access directly to one screen of the application by its URL.
Everything is working well if you fill the URL in your webbrowser.
BUT, if I have an hyperlink in Excel sheet, with the same URL, I get the login page, and then I'm forward to the "home" whereas I wanted to access my specific screen.
If I open the Excel-sheet with OpenOffice, everything is working well ; as if I were filling the URL in the web-browser.
I think it's a problem specific to Microsoft-Excel.
Maybe it's trying to autenticate using NTLM ?? How to disable NTLM, and force the hyperlink to be 'normal' ?
Here is my configuration :
Code:<http auto-config="true" access-denied-page="/accessDenied.do"> <!-- Everybody --> <intercept-url pattern="/**.do*" access="ROLE_CUSTOMER,ROLE_ADMIN" /> <intercept-url pattern="/login.do*" filters="none"/> <intercept-url pattern="/accessDenied.do*" filters="none"/> <form-login login-page="/login.do" authentication-failure-url="/login.do?login_error=1" default-target-url="/home.do" /> </http> <beans:bean id="ldapAuthProvider" class="org.springframework.security.providers.ldap.LdapAuthenticationProvider"> <beans:constructor-arg ref="authenticator"/> <beans:constructor-arg ref="populator"/> <custom-authentication-provider /> </beans:bean> <beans:bean id="authenticator" class="com.myapplication.security.BindAuthenticatorImpl"> <beans:constructor-arg ref="contextSource"/> <beans:property name="customerPeopleDAO" ref="customerPeopleDAO" /> <beans:property name="userDnPatterns"> <beans:list> <beans:value>uid={0},ou=customer_people</beans:value> <beans:value>uid={0},ou=admin_people</beans:value> </beans:list> </beans:property> </beans:bean>
I also tried by setting the parameter "auto-config" to "false".
At this time, I get the following error : "Impossible to open http://myURL/ " Deadline for connecting to the website exceeded."
Anybody can help me ?
Thanks.



