Hi,
I am actually trying to add authentication to Janusgraph. I am actually referring the link below
below is may credentials DB config:
gremlin.graph=org.janusgraph.core.JanusGraphFactory
storage.backend=cql
storage.hostname= 10.xx.xx.xx
storage.port= 9042
storage.username= cassandrauser
storage.password= cassandrapwd
storage.cql.keyspace=creds_db
storage.read-time=50000
storage.cql.write-consistency-level=LOCAL_QUORUM
storage.cql.read-consistency-level=LOCAL_QUORUM
cluster.max-partitions=32
storage.lock.wait-time=5000
storage.lock.retries=5
ids.block-size=100000
Actually when i start the gremlin-server the creds_db and the graphDB creates successfully. The issue, i am not able to create the credentials using Credentials(graph) groovy script, i am trying through gremlin-consle see below.
g1 = JanusGraphFactory.open('conf/gremlin-server/janusgraph-server-credentials.properties')
==>standardjanusgraph[cql:[]]
gremlin> creds = Credentials(g1)
No signature of method: groovysh_evaluate.Credentials() is applicable for argument types: (org.janusgraph.graphdb.database.StandardJanusGraph) values: [standardjanusgraph[cql:[]
Actaully the groovysh_evaluate script does not support standard graph as parameters. What should be my credentials.properties for cassandra??
Thanks,
Sparshneel