code: @Override
      protected FilterChainResolver createFilterChainResolver() {
  
          FilterChainResolver originalFilterChainResolver = super.createFilterChainResolver();
  
          if (originalFilterChainResolver == null) {
              return null;
          }
  
          return getFilterChainResolverFactory(originalFilterChainResolver).getInstance();
      }
docs: Wraps the original FilterChainResolver in a priority based instance, which will detect Stormpath API based logins
  (form, auth headers, etc).
  @return