Re: Logging Into Metron UIs On Kerberized Cluster?

2018-02-21 Thread David McGinnis
I had originally created a database named metron and pointed the JDBC connection string to that. I have created a new database named metronrest, and pointed the JDBC connection string to use this. After restarting, the only table in the database is the alertprofile table mentioned before, with no

Re: Logging Into Metron UIs On Kerberized Cluster?

2018-02-21 Thread Ryan Merriman
Anything in the rest logs? Is this a production install? > On Feb 21, 2018, at 5:53 PM, David McGinnis > wrote: > > OK, did this, added a simple username/password combo, as well as an entry in > authorities with ROLE_USER, and restarted the two UIs as well as the

Re: Logging Into Metron UIs On Kerberized Cluster?

2018-02-21 Thread Ryan Merriman
Ah I see. Yes the tables only get created automatically for MySQL. You will have to create them yourself in postgres. Here is the create statement for mysql that you should be able to map to postgres:

Re: Logging Into Metron UIs On Kerberized Cluster?

2018-02-21 Thread David McGinnis
OK, did this, added a simple username/password combo, as well as an entry in authorities with ROLE_USER, and restarted the two UIs as well as the REST. I am still not able to log in using these credentials with a "login failed" error. On Wed, Feb 21, 2018 at 5:24 PM, Ryan Merriman

Re: Logging Into Metron UIs On Kerberized Cluster?

2018-02-21 Thread Ryan Merriman
Did you create the metronrest database and permission it? The tables should get created automatically when you start REST. On Wed, Feb 21, 2018 at 1:46 PM, David McGinnis wrote: > OK, that makes sense, thanks Ryan. I followed the steps mentioned above, > but no

Re: Logging Into Metron UIs On Kerberized Cluster?

2018-02-21 Thread Ryan Merriman
David, Authentication in our UIs is not as seamless as it should be yet. Kerberos authentication is on the road map. For now you need to load your credentials into the appropriate security RDMBS tables. Instructions are in the REST README:

Re: Logging Into Metron UIs On Kerberized Cluster?

2018-02-21 Thread David McGinnis
OK, that makes sense, thanks Ryan. I followed the steps mentioned above, but no table has been created for users or authorities. The only table I see in the metron database is 'alertprofile'. Do you have a schema somewhere documented which those tables should have that I should use to create the