tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jonathan Gallimore <jgallim...@tomitribe.com>
Subject Re: DataSource password cipher
Date Wed, 18 Jan 2017 14:50:00 GMT
passwordCipher = statesecret
passwordCipher = com.tomitribe.training.jdbc.security.SecretServiceCipher

Shouldn't that be:

password = statesecret
passwordCipher = com.tomitribe.training.jdbc.security.SecretServiceCipher

On Wed, Jan 18, 2017 at 2:47 PM, agumbrecht <agumbrecht@tomitribe.com>
wrote:

> Tried to set this up on TomEE 7.0.2 - Still no luck.
>
> Used both old and new interface and paths. This is my ShrinkWrap.
>
> f72b37ca-9cda-4f55-866b-1b796f069a0c.war:
> /WEB-INF/
> /WEB-INF/classes/
> /WEB-INF/classes/com/
> /WEB-INF/classes/com/tomitribe/
> /WEB-INF/classes/com/tomitribe/training/
> /WEB-INF/classes/com/tomitribe/training/jdbc/
> /WEB-INF/classes/com/tomitribe/training/jdbc/security/
> /WEB-INF/classes/com/tomitribe/training/jdbc/security/
> SecretServiceSingleton.class
> /WEB-INF/classes/com/tomitribe/training/jdbc/security/SecretServiceCipher.
> class
> /WEB-INF/resources.xml
> /META-INF/
> /META-INF/beans.xml
> /META-INF/org.apache.openejb.resource.jdbc.cipher.PasswordCipher/
> /META-INF/org.apache.openejb.resource.jdbc.cipher.
> PasswordCipher/statesecret
> /META-INF/org.apache.openejb.cipher.PasswordCipher/
> /META-INF/org.apache.openejb.cipher.PasswordCipher/statesecret
>
> statesecret contains the SecretServiceCipher ref.
>
> Tried both in resources.xml for DS:
>
> passwordCipher = statesecret
> passwordCipher = com.tomitribe.training.jdbc.security.SecretServiceCipher
>
> TomEE seems to ignore passwordCipher and falls back to PlainText.
>
> Andy.
>
>
>
> -----
>     --
>     Andy Gumbrecht
>
>     http://www.tomitribe.com
>     agumbrecht@tomitribe.com
>     https://twitter.com/AndyGeeDe
>
>     TomEE treibt Tomitribe ! | http://tomee.apache.org
> --
> View this message in context: http://tomee-openejb.979440.
> n4.nabble.com/DataSource-password-cipher-tp4671904p4680888.html
> Sent from the TomEE Users mailing list archive at Nabble.com.
>



-- 
Jonathan Gallimore
http://twitter.com/jongallimore
http://www.tomitribe.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message