Encript Users in shiro.ini

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Encript Users in shiro.ini

Carlos Andres Zambrano Barrera
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






Sent with Mailtrack
Reply | Threaded
Open this post in threaded view
|

Re: Encript Users in shiro.ini

moon
Administrator
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 <[hidden email]> 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: <a href="tel:(312)%20382-5834" value="+13123825834" target="_blank">3123825834






Sent with Mailtrack
Reply | Threaded
Open this post in threaded view
|

Re: Encript Users in shiro.ini

Carlos Andres Zambrano Barrera
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)



Sent with Mailtrack

2017-09-24 5:19 GMT-05:00 moon soo Lee <[hidden email]>:
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 <[hidden email]> wrote:
<img width="0" height="0" class="m_-93630814883931168m_7557984433985723577mailtrack-img" alt="" style="display:flex" src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7">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: <a href="tel:(312)%20382-5834" value="+13123825834" target="_blank">3123825834






Sent with Mailtrack



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