Replies: 5 comments 1 reply
-
I'm afraid Kerberos supporting is not a part of my plans at all as I don't need in my work. Even more, there are many implementations of the protocol and in most cases, you need own implementation. The example is the full and I'm afraid I have nothing to add. It contains both parts: how to create UI form and how to process credentials from the form. We may consider developing a plugin for your company, but your company will have to enter into a development contract to do so. You can contact us by support@kdbinsidebrains.dev with initial requirements to discuss the terms of the contract. Otherwise, just use the examples to build your own implementation. If you wish to make it public and it doesn't have any native implementation, we can add it into the main project. |
Beta Was this translation helpful? Give feedback.
-
Thanks. I am trying to implement Kerberos authentication based on some of our internal libraries. Yet, I do have one question. It seems that the Host name (String in the Host text box) is not directly exposed to CredentialEditor, right? I am wondering if it is possible to get the host name inside the CredentialEditor or CredentialProvider class. Otherwise, I'll have to add another Host textbox in the CredentialEditor for users to fill in the Host name again. Thanks. |
Beta Was this translation helpful? Give feedback.
-
Yes, you are right, you need targetHost here for Kerberos. It's not part of CredentialEditor as this one contains only Kerberos parameters, like Kerberos hostname but it must be part of CredentialProvider. The method will be used from the plugin version 4.6.0. It's published to the marketplace but takes about 2 days to be approved by JetBrains team. If you need, you can download and install it manually: https://plugins.jetbrains.com/plugin/16746-kdbinsidebrains/edit/versions/stable/444098 |
Beta Was this translation helpful? Give feedback.
-
Thanks a lot for the update! I came across an additional question about the UI. If I understand correctly, Yet, in my usecase, to obtain Authentication, (other than host name), I need a user id which is used to obtain authentication token and could be different from the user name used for connection. In this case, I cannot parse and get this user id from A possible workaround is to squeeze the user id in the Thanks a lot! |
Beta Was this translation helpful? Give feedback.
-
Noy sure I get your idea here but credentials is just a string and can take any format and as many tokens as you like but you should remember one thing here. KDB uses the following format for connections: To be more concrete here, in UI you can have: you can encode that into credentials as: you are free to use any encoding and delimiter here if semicolon doesn't work. You even can encode/decode each field value into BASE64 if required, like: If you look at SystemVarCredentialsProvider example: https://github.com/kdbinsidebrains/credentials/blob/main/src/main/java/org/kdb/inside/brains/credentials/SystemVarCredentialsProvider.java The Provide and Editor encode credentials into string: :env:. So, once again, you are responsible to encoding/decoding your credentials but just keep in mind that in format Another remark here:
|
Beta Was this translation helpful? Give feedback.
-
I've found this webpage and this example, but is there any more in-depth example and guide, particularly for Kerberos authentication?
Beta Was this translation helpful? Give feedback.
All reactions