hi i did create the encrypted password with:
/opt/java64/bin/java -cp /opt/jboss/lib/jboss-common.jar:/opt/jboss/lib/jboss-jmx.jar:/opt/jboss/server/default/li b/jbosssx.jar:/opt/jboss/server/default/lib/jboss-jca.jar org.jboss.resource.security.SecureIdentityLoginModule <password>
did something like
Encoded password: -e2215f74b8a3059
did put it into password in login-config.xml like:
<!-- <application-policy name = "OracleDbRealm">
<authentication>
<login-module code = "org.jboss.resource.security.ConfiguredIdentityLoginModule" flag = "required">
<module-option name = "principal">adobe</module-option>
<module-option name = "userName">adobe1</module-option>
<module-option name ="password">xxxxx</module-option>
<module-option name = "managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=DefaultDS</module-option>
</login-module>
</authentication>
</application-policy> -->
<application-policy name="EncryptDBPasswordAppPolicy">
<authentication>
<login-module code="org.jboss.resource.security.SecureIdentityLoginModule" flag="required">
<module-option name="username">adobe1</module-option>
<module-option name="password">-e2215f74b8a3059</module-option>
<module-option name="managedConnectionFactoryName">jboss.jca:service=LocalTxCM,name=DefaultDS</module-op tion>
</login-module>
</authentication>
</application-policy>
and replaced login and config clausules in adobe-ds.xml and oracle-ds.xml with:
<security-domain>EncryptDBPasswordAppPolicy</security-domain>
the problem at start:
org.jboss.resource.JBossResourceException: No matching credentials in Subject!
and i cant login into adminui