You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@zeppelin.apache.org by Carlos Andres Zambrano Barrera <cz...@gmail.com> on 2017/09/20 16:38:42 UTC

Encript Users in shiro.ini

Hi Everyone,

I am working with EMR with Zeppelin Version 0.7.0, and I want to know if I
could encript the users in shiro.ini or encript the complete file shiro.ini.

I do not have LDAP.

-- 
Ing. Carlos Andrés Zambrano Barrera
Cel: 3123825834






<https://mailtrack.io/> Sent with Mailtrack
<https://mailtrack.io/install?source=signature&lang=en&referral=czam01@gmail.com&idSignature=22>
<#>

Re: Encript Users in shiro.ini

Posted by Carlos Andres Zambrano Barrera <cz...@gmail.com>.
Thanks for your answer, I just dit all the steps and then i can not login.
Watching the loggs i see

ERROR [2017-09-25 05:09:09,548] ({qtp1967892594-15}
LoginRestApi.java[postLogin]:111) - Exception in
login:org.apache.shiro.authc.AuthenticationException:
Authentication failed for token submission
[org.apache.shiro.authc.UsernamePasswordToken - czam, rememberMe=false].
Possible unexpected error? (Typical or expected login exceptions should
extend from AuthenticationException). at
org.apache.shiro.authc.AbstractAuthenticator.authenticate(AbstractAuthenticator.java:214)
at
org.apache.shiro.mgt.AuthenticatingSecurityManager.authenticate(AuthenticatingSecurityManager.java:106)
at
org.apache.shiro.mgt.DefaultSecurityManager.login(DefaultSecurityManager.java:270)
at
org.apache.shiro.subject.support.DelegatingSubject.login(DelegatingSubject.java:256)
at org.apache.zeppelin.rest.LoginRestApi.postLogin(LoginRestApi.java:80)



<https://mailtrack.io/> Sent with Mailtrack
<https://mailtrack.io/install?source=signature&lang=en&referral=czam01@gmail.com&idSignature=22>
<#>

2017-09-24 5:19 GMT-05:00 moon soo Lee <mo...@apache.org>:

> Hi,
>
> You can encrypt password in shiro.ini. Check
> http://shiro.apache.org/configuration.html#Configuration-
> EncryptingPasswords
> http://shiro.apache.org/command-line-hasher.html
>
> Hope this helps.
>
> Thanks,
> moon
>
>
> On Wed, Sep 20, 2017 at 4:38 PM Carlos Andres Zambrano Barrera <
> czam01@gmail.com> wrote:
>
>> Hi Everyone,
>>
>> I am working with EMR with Zeppelin Version 0.7.0, and I want to know if
>> I could encript the users in shiro.ini or encript the complete file
>> shiro.ini.
>>
>> I do not have LDAP.
>>
>> --
>> Ing. Carlos Andrés Zambrano Barrera
>> Cel: 3123825834 <(312)%20382-5834>
>>
>>
>>
>>
>>
>>
>> <https://mailtrack.io/> Sent with Mailtrack
>> <https://mailtrack.io/install?source=signature&lang=en&referral=czam01@gmail.com&idSignature=22>
>> <#m_-93630814883931168_m_7557984433985723577_>
>>
>


-- 
Ing. Carlos Andrés Zambrano Barrera
Cel: 3123825834

Re: Encript Users in shiro.ini

Posted by moon soo Lee <mo...@apache.org>.
Hi,

You can encrypt password in shiro.ini. Check
http://shiro.apache.org/configuration.html#Configuration-EncryptingPasswords
http://shiro.apache.org/command-line-hasher.html

Hope this helps.

Thanks,
moon


On Wed, Sep 20, 2017 at 4:38 PM Carlos Andres Zambrano Barrera <
czam01@gmail.com> wrote:

> Hi Everyone,
>
> I am working with EMR with Zeppelin Version 0.7.0, and I want to know if
> I could encript the users in shiro.ini or encript the complete file
> shiro.ini.
>
> I do not have LDAP.
>
> --
> Ing. Carlos Andrés Zambrano Barrera
> Cel: 3123825834 <(312)%20382-5834>
>
>
>
>
>
>
> <https://mailtrack.io/> Sent with Mailtrack
> <https://mailtrack.io/install?source=signature&lang=en&referral=czam01@gmail.com&idSignature=22>
> <#m_7557984433985723577_>
>