-
Notifications
You must be signed in to change notification settings - Fork 196
8365: Jolokia - Additional support for security mechanisms related to SSL / authentication, discovery restrictions #665
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
…ror connection if it fails
👋 Welcome back skarsaune! A progress list of the required criteria for merging this PR into |
|
||
fieldStack = new Composite(inner, SWT.NONE); | ||
fieldStack.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false)); | ||
fieldStack.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, false, 2, 1)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@skarsaune This change now passes all automated pre-integration checks. ℹ️ This project also has non-automated pre-integration requirements. Please see the file CONTRIBUTING.md for details. After integration, the commit message for the final commit will be:
You can use pull request commands such as /summary, /contributor and /issue to adjust it as needed. At the time when this comment was updated there had been no new commits pushed to the As you do not have Committer status in this project an existing Committer must agree to sponsor your change. Possible candidates are the reviewers of this PR (@aptmac) but any other Committer may sponsor as well. ➡️ To flag this PR as ready for integration with the above commit message, type |
// FIXME: Show stacktrace? (Need to show our own ExceptionDialog in that case, or maybe create our own DetailsAreaProvider, see WorkbenchStatusDialogManager.setDetailsAreaProvider) | ||
return new Status(IStatus.ERROR, ConsolePlugin.PLUGIN_ID, IStatus.ERROR, | ||
NLS.bind(Messages.ConsoleEditor_COULD_NOT_CONNECT, getEditorInput().getName(), e.getMessage()), | ||
NLS.bind(e.getLocalizedMessage(), getEditorInput().getName(), e.getMessage()), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Apparently all the more detailed error message is in this method on the exception class
JolokiaServiceManager serviceManager = JolokiaServiceManagerFactory.createJolokiaServiceManager(configuration, | ||
new JulLogHandler(PLUGIN_ID), new AllowAllRestrictor(), | ||
() -> new TreeSet<ServerDetector>(Arrays.asList(ServerDetector.FALLBACK))); | ||
logHandler -> new TreeSet<ServerDetector>(Arrays.asList(ServerDetector.FALLBACK))); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Unrelated compiltion erro
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reverted this to separate concerns
Webrevs
|
@skarsaune This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a |
Is this perhaps something you might have a look at @aptmac ? |
@skarsaune This pull request has been inactive for more than 4 weeks and will be automatically closed if another 4 weeks passes without any activity. To avoid this, simply issue a |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall looks good to me, commented with a couple of minor things
....openjdk.jmc.browser/src/main/java/org/openjdk/jmc/browser/wizards/ConnectionWizardPage.java
Outdated
Show resolved
Hide resolved
....openjdk.jmc.browser/src/main/java/org/openjdk/jmc/browser/wizards/ConnectionWizardPage.java
Outdated
Show resolved
Hide resolved
/integrate |
@skarsaune |
/sponsor |
Going to push as commit 2bb16fa. |
@aptmac @skarsaune Pushed as commit 2bb16fa. 💡 You may see a message that your pull request was closed with unmerged commits. This can be safely ignored. |
Note: The majority of the work in this PR is to make it work well with RMI connections. For Jolokia however, it should work out of the box as setting the env var will force https.
Progress
Issue
Reviewers
Reviewing
Using
git
Checkout this PR locally:
$ git fetch https://git.openjdk.org/jmc.git pull/665/head:pull/665
$ git checkout pull/665
Update a local copy of the PR:
$ git checkout pull/665
$ git pull https://git.openjdk.org/jmc.git pull/665/head
Using Skara CLI tools
Checkout this PR locally:
$ git pr checkout 665
View PR using the GUI difftool:
$ git pr show -t 665
Using diff file
Download this PR as a diff file:
https://git.openjdk.org/jmc/pull/665.diff
Using Webrev
Link to Webrev Comment