Details

      Description

      Steps to reproduce:
      1- Configure LDAP and NTLM
      2- Open Internet Explorer 11 browser
      3- Click in sign in

      The user is not automatically logged in LIferay, the login form is shown and no errors are displayed.

      Technical root cause:
      IE11 stablishes this as user agent:
      mozilla/5.0 (windows nt 6.1; wow64; trident/7.0; rv:11.0) like gecko

      and as it doesn't contain the string "msie" the portal doesn't recognise the browser as IE:

      BrowserSnifferImpl.java
      protected boolean isIe(String userAgent) {
      	if (userAgent.contains("msie") && !userAgent.contains("opera")) {
      		return true;
      	}
      
      	return false;
      }
      

      And this method is called to know if we should authenticate via NTLM in NTLMFilter.java

      Microsoft documentation:
      http://msdn.microsoft.com/en-us/library/ie/hh869301(v=vs.85).aspx
      http://msdn.microsoft.com/en-us/library/ie/ms537503(v=vs.85).aspx#TriToken

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              shitian.zhang Shitian "Shelton" Zhang (Inactive)
              Reporter:
              alberto.chaparro Alberto Chaparro
              Participants of an Issue:
              Recent user:
              Esther Sanz
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Days since last comment:
                6 years, 23 weeks, 5 days ago

                  Packages

                  Version Package
                  6.1.X EE
                  6.2.2 CE GA3
                  6.2.X EE
                  7.0.0 M1