This script will encrypt passwords using a scheme that the default password filter can decrypt. Useful if you want to encrypt passwords in the backend database using the default password filter for authentication. Save to the Rhythmyx installation directory. Pass the clear-text password as an argument. The result will be {password}–>{encrypted password}
encryptPW.sh
#!/bin/bash
JAVA_HOME=JRE
JRE_HOME=JRE
RXLIB=AppServer/server/rx/deploy/rxapp.ear/rxapp.war/WEB-INF/lib
java -cp $RXLIB/rxextensions.jar:$RXLIB/rxclient.jar:$RXLIB/commons-lang-2.4.jar com.percussion.filter.DefaultPasswordFilter $1
encryptPW.bat
@echo off
set JAVA_HOME=JRE
set JRE_HOME=JRE
set RXLIB=AppServer/server/rx/deploy/rxapp.ear/rxapp.war/WEB-INF/lib
java -cp %RXLIB%/rxextensions.jar;%RXLIB%/rxclient.jar;%RXLIB%/commons-lang-2.4.jar com.percussion.filter.DefaultPasswordFilter %1