Xupypr MV
Xupypr MV

Reputation: 935

IE7 form authentication after ntlm authentication failed

I have a problem with authentication:

Upvotes: 0

Views: 808

Answers (2)

Xupypr MV
Xupypr MV

Reputation: 935

I have my own Authentication filter, so my config are not similar to config above. I already solve my problem: i create a special link, that don't create ntlm-like-garbage in headers and provide login after user enter credentials. So i have 2 entrance point in my application. Not perfect but it works.

Upvotes: 1

Maria Ioannidou
Maria Ioannidou

Reputation: 1564

In case you haven't solved your problem, can you provide your web.xml?

The security constraints should look like this:

  <security-constraint>
    <display-name>Application Security Constraint</display-name>
    <web-resource-collection>
      <web-resource-name>Protected Area</web-resource-name>
      <url-pattern>/*</url-pattern>
      <http-method>DELETE</http-method>
      <http-method>GET</http-method>
      <http-method>POST</http-method>
      <http-method>PUT</http-method>
    </web-resource-collection>
    <auth-constraint>
      <role-name>Everyone</role-name>
    </auth-constraint>
  </security-constraint>

  <security-constraint>
    <display-name>Login Page</display-name>
    <web-resource-collection>
      <web-resource-name>Unprotected Login Page</web-resource-name>
      <url-pattern>/login.jsp</url-pattern>
    </web-resource-collection>
  </security-constraint>

  <security-role>
    <role-name>Everyone</role-name>
  </security-role>

Upvotes: 0

Related Questions