AT

Clarification on Kerberos configuration for Gremlin Driver

Ggdotv10/24/2023
I'm a little bit unclear on the role of the JAAS configuration file for the Gremlin client in the context of the gremlin-driver (rather than just the GremlinConsole). Looking at https://tinkerpop.apache.org/docs/current/reference/#krb5authenticator Is the naming convention around the jaasEntry name at all of relevance or can any gremlin-driver assume the existence of a GremlinConsole jaas entry? I'm assuming the mapping here between jaasEntry name and gremlin-driver configuration is done by setting the jaasEntry value on the ClusterBuilder but just looking for confirmation on that!
Sspmallette10/25/2023
i honestly have no idea how that works.
Ggdotv10/25/2023
ill be able to test this in more details in the next couple weeks so ill report back on findings if that doesn't align with my own understanding! the documentation does feel clear enough on the topic, i figured i'd double check just to be sure i guess for reference these are the notes I made on how to add kerberos auth support on G.V(): - Add ability to specifynon default krb5 and jaas configuration path in global G.V() settings (since they're driven rightfully so by system properties) - Add principal name and service name prompts in the connection setup wizard if Kerb/TGT error is detected - Add jaasEntry name prompt in the connection setup wizard
Sspmallette11/8/2023
did you ever learn anything further on this?
Ggdotv11/8/2023
i think i've got the right theory on how to get this all to run i actually need to find some volunteer to help me test this out in the meantime ive added a small but really useful feature in g.v for the upcoming release allowing to override java system properties on the g.v java backend this should allow specifying non standard paths for the jaas/krb5conf file paths i just need to add some automatic detection of kerb related auth error in the auto detect mechanism and a prompt for a service principal name + service name in the connection wizard i was gonna send some messages in the general channels here and in JG to see if i can find someone with a kerberos setup willing to test this out for me

Looking for more? Join the community!

Want results from more Discord servers?
Add your server
Recommended Posts
Gremlin Driver and frequently changing serversIn a containerised environment, hosts are frequently replaced and their IP address can change severaGlobal SearchIs there a way where i can scan all the vertex or edge properties that match a given keyword in gremGraphSON mapperHi, I'm trying to ingest some data into AWS Neptune and due to its size I'm forced to use a bulk d.drop() behavior confussionI have a basic java app and I'm learning hot to send gremlin queries to a JanusGraph from that java Can I name the result of an anonymous traversal without moving the traverser?I can currently do the following: ``` Graph graph = TinkerFactory.createModern(); GraphTraversalSCan GraphBinary be used to save a graph to file?Can GraphBinary be used to save graph in a file. Any example is welcome.How to get cardinality of property?I have a multi property and I want to find out its cardinality. How can I do that? valueMap/elementMinverted regex searchHey, In my vertices I store escaped regexp statements as labels (e.g: 'wh.' which in theory should Debug message spam from tinkerpop server 3.7Right now, when connecting to my local tinkerpop server, I am getting incredible amounts of debug loShould by() Modulator Work For More Types?This works. `gremlin> g.V().out().out().path().by("name") ==>[marko,josh,ripple] ==>[marko,josh,lop]InProcess GraphDB with Gremlin Support? (C# or NodeJS)Hello, is there any in process GraphDB out there in the world? Best would be c# or NodeJS and not JaEasiest Way to Get List Cardinality Properties As a List?What is the easiest way to retrieve the vertex properties that have list cardinality back as a list filter lambda in remote consolehi all, i’m trying to do filter on remote console to neptune server but keep getting MalformedQueryEwithin() and case insensitiveI need to check if a property of a node is in a list of values. How can I do that in a case insensitproject("p").by(__.values("a", "b") Only Outputs Single Property, Bug or Expected?I am curious why this does not behave in the way I expected. Not a problem - solution question. I Use of by()Can somebody explain the usecase of by() function in gremlin in very simple language.@GremlinDSL support in the GremlinLangScriptEngineHi, I recently sent a pull-request into the github ArcadeDB repository to add support binding custoRepeatStep does not appear to respect barriersI was digging into some traversal performance and had something similar to the following: ``` g.V(<Trying to find a Vertex using a variable injected earlier in the traversalI am trying to add a series of vertices and edges to an existing graph. The newly created Vertex wiDoes Gremlin support API for CRUD operations?Currently using g.V() for read and g.addV() for write.