Uploaded image for project: 'MidPoint'
  1. MidPoint
  2. MID-6037

Flexible authentication part 1 - issues

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:

      clean install on Win10

    • Subscription:
      No subscription (community)
    • Git Revision:
      v4.1-M2

      Description

      if I try to upload demo to 4.1-M2 I catch these errors:

      {[Http://midpoint.evolveum.com/xml/ns/public/common/common-3]}

      signMetadata has no definition

      {[Http://midpoint.evolveum.com/xml/ns/public/common/common-3]}

      ignoredLocalPath has no definition

      After enabling this sample global security policy and attempting to open the login page, I will catch a "white screen" in midpoint.log:

      2020-02-03 11: 14: 12 272 [MODEL] [http-nio-8080-exec-10] ERROR (com.evolveum.midpoint.web.security.util.SecurityUtils): Unable to build filter for moduleFactory2020- 02-03 11: 14: 12.272 [MODEL] [http-nio-8080-exec-10] ERROR (com.evolveum.midpoint.web.security.util.SecurityUtils): Could not build filter for moduleFactoryjava.lang. IllegalArgumentException: The suffix in the InternalLoginForm sequence channel cannot be null to com.evolveum.midpoint.web.security.module.configuration.ModuleWebSecurityConfigurationImpl.java:107) to com.evolveum.midpoint.eb for this use. security.module.configuration.LoginFormModuleWebSecurityConfiguration.build (LoginFormModuleWebSecurityConfiguration.java:27)

      ....

      2020-02-03 11: 14: 12 273 [MODEL] [http-nio-8080-exec-10] ERROR (com.evolveum.midpoint.web.security.util.SecurityUtils): Unable to build filter for moduleFactory2020- 02-03 11: 14: 12 273 [MODEL] [http-nio-8080-exec-10] ERROR (com.evolveum.midpoint.web.security.util.SecurityUtils): Could not build filter for moduleFactoryjava.lang. NullPointerException: Null at org.springframework.security.saml.util.StringUtils.stripStartingSlashes (StringUtils.java:78) midpoint.web.security.module.configuration.ModuleWebSecurityConfigurationImpl.getPrefix (ModuleWebSecurityConfigurationImpl.java:84)

       

      ---------------------

      I also did not find real sections in the documentation, such as:

      https://wiki.evolveum.com/display/midPoint/Flexible+Authentication+Configuration#FlexibleAuthenticationConfiguration-IgnoredpathConfiguration

      or other renamed / deleted attributes or classes, such as AuthenticationModuleSaml2KeyType, ModuleSaml2SimpleKeyType, ModuleSaml2KeyStoreKeyType

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              oscar Gustáv Pálos
              Reporter:
              oscar Gustáv Pálos
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: