cayenne-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lenka <lie...@gmail.com>
Subject PasswordSource if passwordLocation is executable
Date Thu, 29 Oct 2009 07:45:41 GMT
Dear Cayenne users,

I have a problem here. I need to change the password in a runtime.
Therefore I set in Cayenne Modeler: 

in Password Encoder the following values:
Password Location: Executable Program
Password Executable: lenka.Application.test()"

In the xml file, the following code was produced. 

<driver project-version="3.0" class="org.postgresql.Driver">
<url value="jdbc:postgresql://127.0.0.1:5430/databaze_name"/>
<connectionPool min="1" max="1"/>
<login userName="user_name"
encoderClass="org.apache.cayenne.conf.Rot47PasswordEncoder"
passwordLocation="executable"
passwordSource="sk.lenka.Application.test()"/>
</driver>


I wonder what to enter in "passwordSource" if I need to read the
password from the method: lenka.Application.test();


Any help will be appreciated.
Lenka

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