[GitHub] [lucene-solr] MarcusSorealheis edited a comment on issue #805: SOLR-13649 change the default behavior of the basic authentication plugin.
MarcusSorealheis edited a comment on issue #805: SOLR-13649 change the default behavior of the basic authentication plugin. URL: https://github.com/apache/lucene-solr/pull/805#issuecomment-522845003 Feel free to take a look when you can @janhoy I think it looks pretty good and accounts for the changes to aid upgraders who may not have a user configured. :) This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[GitHub] [lucene-solr] MarcusSorealheis edited a comment on issue #805: SOLR-13649 change the default behavior of the basic authentication plugin.
MarcusSorealheis edited a comment on issue #805: SOLR-13649 change the default behavior of the basic authentication plugin. URL: https://github.com/apache/lucene-solr/pull/805#issuecomment-522844564 Tests pass: ```2144 INFO (SUITE-TestSha256AuthenticationProvider-seed#[F56EB5E57E25DD6A]-worker) [ ] o.a.s.SolrTestCaseJ4 SecureRandom sanity checks: test.solr.allowed.securerandom=null & java.security.egd=file:/dev/./urandom 2196 INFO (SUITE-TestSha256AuthenticationProvider-seed#[F56EB5E57E25DD6A]-worker) [ ] o.a.s.SolrTestCaseJ4 Created dataDir: /private/var/folders/zd/mnb2vj0552d3jsxzlw_8s0xwgn/T/solr.security.TestSha256AuthenticationProvider_F56EB5E57E25DD6A-001/data-dir-1-001 2302 INFO (SUITE-TestSha256AuthenticationProvider-seed#[F56EB5E57E25DD6A]-worker) [ ] o.a.s.SolrTestCaseJ4 Using TrieFields (NUMERIC_POINTS_SYSPROP=false) w/NUMERIC_DOCVALUES_SYSPROP=false 2349 INFO (SUITE-TestSha256AuthenticationProvider-seed#[F56EB5E57E25DD6A]-worker) [ ] o.e.j.u.log Logging initialized @2395ms to org.eclipse.jetty.util.log.Slf4jLog 2358 INFO (SUITE-TestSha256AuthenticationProvider-seed#[F56EB5E57E25DD6A]-worker) [ ] o.a.s.SolrTestCaseJ4 Randomized ssl (false) and clientAuth (false) via: @org.apache.solr.util.RandomizeSSL(reason="", value=0.0/0.0, ssl=0.0/0.0, clientAuth=0.0/0.0) w/ MAC_OS_X supressed clientAuth 2400 INFO (TEST-TestSha256AuthenticationProvider.testBasicAuthDeleteFinalUser-seed#[F56EB5E57E25DD6A]) [ ] o.a.s.SolrTestCaseJ4 ###Starting testBasicAuthDeleteFinalUser 2432 INFO (TEST-TestSha256AuthenticationProvider.testBasicAuthDeleteFinalUser-seed#[F56EB5E57E25DD6A]) [ ] o.a.s.SolrTestCaseJ4 ###Ending testBasicAuthDeleteFinalUser 2458 INFO (SUITE-TestSha256AuthenticationProvider-seed#[F56EB5E57E25DD6A]-worker) [ ] o.a.s.SolrTestCaseJ4 --- Done waiting for tracked resources to be released Process finished with exit code 0 This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[GitHub] [lucene-solr] MarcusSorealheis edited a comment on issue #805: SOLR-13649 change the default behavior of the basic authentication plugin.
MarcusSorealheis edited a comment on issue #805: SOLR-13649 change the default behavior of the basic authentication plugin. URL: https://github.com/apache/lucene-solr/pull/805#issuecomment-522844564 Tests pass: ```2144 INFO (SUITE-TestSha256AuthenticationProvider-seed#[F56EB5E57E25DD6A]-worker) [ ] o.a.s.SolrTestCaseJ4 SecureRandom sanity checks: test.solr.allowed.securerandom=null & java.security.egd=file:/dev/./urandom 2196 INFO (SUITE-TestSha256AuthenticationProvider-seed#[F56EB5E57E25DD6A]-worker) [ ] o.a.s.SolrTestCaseJ4 Created dataDir: /private/var/folders/zd/mnb2vj0552d3jsxzlw_8s0xwgn/T/solr.security.TestSha256AuthenticationProvider_F56EB5E57E25DD6A-001/data-dir-1-001 2302 INFO (SUITE-TestSha256AuthenticationProvider-seed#[F56EB5E57E25DD6A]-worker) [ ] o.a.s.SolrTestCaseJ4 Using TrieFields (NUMERIC_POINTS_SYSPROP=false) w/NUMERIC_DOCVALUES_SYSPROP=false 2349 INFO (SUITE-TestSha256AuthenticationProvider-seed#[F56EB5E57E25DD6A]-worker) [ ] o.e.j.u.log Logging initialized @2395ms to org.eclipse.jetty.util.log.Slf4jLog 2358 INFO (SUITE-TestSha256AuthenticationProvider-seed#[F56EB5E57E25DD6A]-worker) [ ] o.a.s.SolrTestCaseJ4 Randomized ssl (false) and clientAuth (false) via: @org.apache.solr.util.RandomizeSSL(reason="", value=0.0/0.0, ssl=0.0/0.0, clientAuth=0.0/0.0) w/ MAC_OS_X supressed clientAuth 2400 INFO (TEST-TestSha256AuthenticationProvider.testBasicAuthDeleteFinalUser-seed#[F56EB5E57E25DD6A]) [ ] o.a.s.SolrTestCaseJ4 ###Starting testBasicAuthDeleteFinalUser 2432 INFO (TEST-TestSha256AuthenticationProvider.testBasicAuthDeleteFinalUser-seed#[F56EB5E57E25DD6A]) [ ] o.a.s.SolrTestCaseJ4 ###Ending testBasicAuthDeleteFinalUser 2458 INFO (SUITE-TestSha256AuthenticationProvider-seed#[F56EB5E57E25DD6A]-worker) [ ] o.a.s.SolrTestCaseJ4 --- Done waiting for tracked resources to be released Process finished with exit code 0``` This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services - To unsubscribe, e-mail: dev-unsubscr...@lucene.apache.org For additional commands, e-mail: dev-h...@lucene.apache.org
[GitHub] [lucene-solr] MarcusSorealheis edited a comment on issue #805: SOLR-13649 change the default behavior of the basic authentication plugin. [WIP]
MarcusSorealheis edited a comment on issue #805: SOLR-13649 change the default behavior of the basic authentication plugin. [WIP] URL: https://github.com/apache/lucene-solr/pull/805#issuecomment-519736169 @janhoy I've appended Work In Progress to this PR's title because I'm facing a strange build error. It does not seem related: ``` [ecj-lint] -- [ecj-lint] 1. ERROR in /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java (at line 23) [ecj-lint] import javax.naming.NamingException; [ecj-lint] [ecj-lint] The type javax.naming.NamingException is not accessible [ecj-lint] -- [ecj-lint] 2. ERROR in /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java (at line 28) [ecj-lint] public class MockInitialContextFactory implements InitialContextFactory { [ecj-lint] ^ [ecj-lint] The type MockInitialContextFactory must implement the inherited abstract method InitialContextFactory.getInitialContext(Hashtable) [ecj-lint] -- [ecj-lint] 3. ERROR in /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java (at line 30) [ecj-lint] private final javax.naming.Context context; [ecj-lint] [ecj-lint] The type javax.naming.Context is not accessible [ecj-lint] -- [ecj-lint] 4. ERROR in /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java (at line 33) [ecj-lint] context = mock(javax.naming.Context.class); [ecj-lint] ^^^ [ecj-lint] context cannot be resolved to a variable [ecj-lint] -- [ecj-lint] 5. ERROR in /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java (at line 33) [ecj-lint] context = mock(javax.naming.Context.class); [ecj-lint] [ecj-lint] The type javax.naming.Context is not accessible [ecj-lint] -- [ecj-lint] 6. ERROR in /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java (at line 36) [ecj-lint] when(context.lookup(anyString())).thenAnswer(invocation -> objects.get(invocation.getArgument(0))); [ecj-lint] ^^^ [ecj-lint] context cannot be resolved [ecj-lint] -- [ecj-lint] 7. ERROR in /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java (at line 38) [ecj-lint] } catch (NamingException e) { [ecj-lint] ^^^ [ecj-lint] NamingException cannot be resolved to a type [ecj-lint] -- [ecj-lint] 8. ERROR in /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java (at line 45) [ecj-lint] public javax.naming.Context getInitialContext(Hashtable env) { [ecj-lint] [ecj-lint] The type javax.naming.Context is not accessible [ecj-lint] -- [ecj-lint] 9. ERROR in /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java (at line 46) [ecj-lint] return context; [ecj-lint] ^^^ [ecj-lint] context cannot be resolved to a variable [ecj-lint] -- [ecj-lint] 9 problems (9 errors) BUILD FAILED /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/build.xml:101: The following error occurred while executing this line: /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/build.xml:651: The following error occurred while executing this line: /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/common-build.xml:479: The following error occurred while executing this line: /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/lucene/common-build.xml:2015: The following error occurred while executing this line: /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/lucene/common-build.xml:2048: Compile failed; see the compiler error output for details.``` I also saw similar errors on the lucene-dev mailing list: http://mail-ar
[GitHub] [lucene-solr] MarcusSorealheis edited a comment on issue #805: SOLR-13649 change the default behavior of the basic authentication plugin. [WIP]
MarcusSorealheis edited a comment on issue #805: SOLR-13649 change the default behavior of the basic authentication plugin. [WIP] URL: https://github.com/apache/lucene-solr/pull/805#issuecomment-519736169 @janhoy I've appended Work In Progress to this PR's title because I'm facing a strange build error. It does not seem related: ``` [ecj-lint] -- [ecj-lint] 1. ERROR in /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java (at line 23) [ecj-lint] import javax.naming.NamingException; [ecj-lint] [ecj-lint] The type javax.naming.NamingException is not accessible [ecj-lint] -- [ecj-lint] 2. ERROR in /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java (at line 28) [ecj-lint] public class MockInitialContextFactory implements InitialContextFactory { [ecj-lint] ^ [ecj-lint] The type MockInitialContextFactory must implement the inherited abstract method InitialContextFactory.getInitialContext(Hashtable) [ecj-lint] -- [ecj-lint] 3. ERROR in /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java (at line 30) [ecj-lint] private final javax.naming.Context context; [ecj-lint] [ecj-lint] The type javax.naming.Context is not accessible [ecj-lint] -- [ecj-lint] 4. ERROR in /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java (at line 33) [ecj-lint] context = mock(javax.naming.Context.class); [ecj-lint] ^^^ [ecj-lint] context cannot be resolved to a variable [ecj-lint] -- [ecj-lint] 5. ERROR in /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java (at line 33) [ecj-lint] context = mock(javax.naming.Context.class); [ecj-lint] [ecj-lint] The type javax.naming.Context is not accessible [ecj-lint] -- [ecj-lint] 6. ERROR in /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java (at line 36) [ecj-lint] when(context.lookup(anyString())).thenAnswer(invocation -> objects.get(invocation.getArgument(0))); [ecj-lint] ^^^ [ecj-lint] context cannot be resolved [ecj-lint] -- [ecj-lint] 7. ERROR in /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java (at line 38) [ecj-lint] } catch (NamingException e) { [ecj-lint] ^^^ [ecj-lint] NamingException cannot be resolved to a type [ecj-lint] -- [ecj-lint] 8. ERROR in /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java (at line 45) [ecj-lint] public javax.naming.Context getInitialContext(Hashtable env) { [ecj-lint] [ecj-lint] The type javax.naming.Context is not accessible [ecj-lint] -- [ecj-lint] 9. ERROR in /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java (at line 46) [ecj-lint] return context; [ecj-lint] ^^^ [ecj-lint] context cannot be resolved to a variable [ecj-lint] -- [ecj-lint] 9 problems (9 errors) BUILD FAILED /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/build.xml:101: The following error occurred while executing this line: /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/build.xml:651: The following error occurred while executing this line: /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/common-build.xml:479: The following error occurred while executing this line: /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/lucene/common-build.xml:2015: The following error occurred while executing this line: /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/lucene/common-build.xml:2048: Compile failed; see the compiler error output for details.``` [I also saw similar errors on the lucene-dev mailing list](http://mail-a
[GitHub] [lucene-solr] MarcusSorealheis edited a comment on issue #805: SOLR-13649 change the default behavior of the basic authentication plugin. [WIP]
MarcusSorealheis edited a comment on issue #805: SOLR-13649 change the default behavior of the basic authentication plugin. [WIP] URL: https://github.com/apache/lucene-solr/pull/805#issuecomment-519736169 @janhoy I've appended Work In Progress to this PR's title because I'm facing a strange build error. It does not seem related: ``` [ecj-lint] -- [ecj-lint] 1. ERROR in /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java (at line 23) [ecj-lint] import javax.naming.NamingException; [ecj-lint] [ecj-lint] The type javax.naming.NamingException is not accessible [ecj-lint] -- [ecj-lint] 2. ERROR in /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java (at line 28) [ecj-lint] public class MockInitialContextFactory implements InitialContextFactory { [ecj-lint] ^ [ecj-lint] The type MockInitialContextFactory must implement the inherited abstract method InitialContextFactory.getInitialContext(Hashtable) [ecj-lint] -- [ecj-lint] 3. ERROR in /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java (at line 30) [ecj-lint] private final javax.naming.Context context; [ecj-lint] [ecj-lint] The type javax.naming.Context is not accessible [ecj-lint] -- [ecj-lint] 4. ERROR in /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java (at line 33) [ecj-lint] context = mock(javax.naming.Context.class); [ecj-lint] ^^^ [ecj-lint] context cannot be resolved to a variable [ecj-lint] -- [ecj-lint] 5. ERROR in /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java (at line 33) [ecj-lint] context = mock(javax.naming.Context.class); [ecj-lint] [ecj-lint] The type javax.naming.Context is not accessible [ecj-lint] -- [ecj-lint] 6. ERROR in /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java (at line 36) [ecj-lint] when(context.lookup(anyString())).thenAnswer(invocation -> objects.get(invocation.getArgument(0))); [ecj-lint] ^^^ [ecj-lint] context cannot be resolved [ecj-lint] -- [ecj-lint] 7. ERROR in /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java (at line 38) [ecj-lint] } catch (NamingException e) { [ecj-lint] ^^^ [ecj-lint] NamingException cannot be resolved to a type [ecj-lint] -- [ecj-lint] 8. ERROR in /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java (at line 45) [ecj-lint] public javax.naming.Context getInitialContext(Hashtable env) { [ecj-lint] [ecj-lint] The type javax.naming.Context is not accessible [ecj-lint] -- [ecj-lint] 9. ERROR in /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/contrib/dataimporthandler/src/test/org/apache/solr/handler/dataimport/MockInitialContextFactory.java (at line 46) [ecj-lint] return context; [ecj-lint] ^^^ [ecj-lint] context cannot be resolved to a variable [ecj-lint] -- [ecj-lint] 9 problems (9 errors) BUILD FAILED /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/build.xml:101: The following error occurred while executing this line: /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/build.xml:651: The following error occurred while executing this line: /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/solr/common-build.xml:479: The following error occurred while executing this line: /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/lucene/common-build.xml:2015: The following error occurred while executing this line: /Users/marcussorealheis/github.com/marcussorealheis/lucene-solr/lucene/common-build.xml:2048: Compile failed; see the compiler error output for details.``` I also saw similar errors on the lucene-dev mailing list](http://mail-ar