Hi,
I'm trying to change the password encoder from
to
. I didn't find any description how this can be done correctly. So I had to try.
So I changed
* password encoder in /biserver-ce/pentaho-solutions/system/applicationContext-spring-security-jackrabbit.xml by replacing just the classname in <bean id="jackrabbitPasswordEncoder" class="
* Additionally I changed the default password in /biserver-ce/pentaho-solutions/system/defaultUser.spring.properties to the SHA1-Hash for "password" --> 5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8
* And the password in /biserver-ce/pentaho-solutions/system/repository.spring.properties for "system" to the same SHA1-Hash
before the first start.
Now I cannot login anymore with "admin" and "password". Where did I miss something?
Already tried to have a look into jackrabbit by copying the repository to an external directory and trying to open it with jackrabbit-standalone-2.10.4.jar. But no luck. Unable to login with "admin/password". Additionally I tried to open the H2 database - but no users inside there.
---
When this is fixed, my next problem will be, how to insert already encrypted passwords to Jackrabbit. When I use
the "hash" will be the password.
Best regards,
Markus
I'm trying to change the password encoder from
Code:
org.pentaho.platform.repository2.userroledao.jackrabbit.security.DefaultPentahoPasswordEncoder
Code:
org.springframework.security.providers.encoding.ShaPasswordEncoder
So I changed
* password encoder in /biserver-ce/pentaho-solutions/system/applicationContext-spring-security-jackrabbit.xml by replacing just the classname in <bean id="jackrabbitPasswordEncoder" class="
* Additionally I changed the default password in /biserver-ce/pentaho-solutions/system/defaultUser.spring.properties to the SHA1-Hash for "password" --> 5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8
* And the password in /biserver-ce/pentaho-solutions/system/repository.spring.properties for "system" to the same SHA1-Hash
before the first start.
Now I cannot login anymore with "admin" and "password". Where did I miss something?
Already tried to have a look into jackrabbit by copying the repository to an external directory and trying to open it with jackrabbit-standalone-2.10.4.jar. But no luck. Unable to login with "admin/password". Additionally I tried to open the H2 database - but no users inside there.
---
When this is fixed, my next problem will be, how to insert already encrypted passwords to Jackrabbit. When I use
Code:
PUT pentaho/api/userroledao/createUser
Best regards,
Markus