Found it

login.strategy=default

if (username.equals("user")) {
    if (password.equals("test")) {
        fullName = "Default";
    }
}

I had quite a few struggles getting griffin to run on my laptop.  (as Im still 
new to hadoop/spark/hive)
Would it helpful if I extend the documentation on local installation?
If so, how should I proceed?

-- Tom


> On 14 May 2018, at 08:23, Tom Baeyens <[email protected]> wrote:
> 
> Hi,
> 
> Thanks for a great project, folks!  Looks really promising. I just got 
> griffin started on my local laptop working my way through the 
> https://github.com/apache/incubator-griffin/blob/master/griffin-doc/deploy/deploy-guide.md
> 
> When I open http://localhost:8080/ I get the login screen.  But I don't know 
> what user/password to put in.
> 
> In the docs, the only reference to users or authentication I could find was 
> this:
> 
> # ldap properties, ignore them if ldap is not enabled
> ldap.url = ldap://hostname:port
> ldap.email = @example.com
> ldap.searchBase = DC=org,DC=example
> ldap.searchPattern = (sAMAccountName={0})
> 
> Is LDAP required for webapp user authentication?
> Or is there a simpler way to create test users?
> 
> -- Tom Baeyens


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to