Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geomesa-users] geomesa cassandra authentication

Hi Kristian,

I think you have to add the parameters to this method for them to show up in geoserver:

https://github.com/locationtech/geomesa/blob/master/geomesa-cassandra/geomesa-cassandra-datastore/src/main/scala/org/locationtech/geomesa/cassandra/data/CassandraDataStoreFactory.scala#L47

Once you get authentication working, please contribute it back as a PR if you're able!

Thanks,

Emilio

On 02/17/2017 09:13 AM, Kristian Nygaard Jensen wrote:
I have added:

val CONTACT_USER = new Param("geomesa.cassandra.contact.user" , classOf[String], "Cassandra username", true) val CONTACT_PASS = new Param("geomesa.cassandra.contact.user", classOf[String], "Cassandra password", true, null, Collections.singletonMap(Parameter.IS_PASSWORD, java.lang.Boolean.TRUE))

to CassandraDataStoreFactory and try to use these in createDataStore, but the fields are not present in the plugin web form.

How do I enable these in the form?

Cheers,

Kristian


On 2017-02-17 13:49, Kristian Nygaard Jensen wrote:
I am hardcoding .withCredentials in CassandraDataStoreFactory for now


On 2017-02-17 10:06, Kristian Nygaard Jensen wrote:
Hi All,

How is authentication handled in geomesa cassandra?


Cheers,


Kristian

_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.locationtech.org/mailman/listinfo/geomesa-users

_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.locationtech.org/mailman/listinfo/geomesa-users

_______________________________________________
geomesa-users mailing list
geomesa-users@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.locationtech.org/mailman/listinfo/geomesa-users



Back to the top