Djigzo DTO

Hi,

what does DTO stand for? (for example: UserDTO)

Also I am trying to set the locality for a user in Java to use it via CLI and I can’t find the function that lets me do that. Where do I do that best?

Thanks in advance!

PS: ciphermail is great news!! Cant wait to try it out.

Cheers

Phil

Hi Philipp,

what does DTO stand for? (for example: UserDTO)

The DTO stands for Data Transfer Object (see
Data transfer object - Wikipedia). It is used to
transfer data between the back-end and front-end via SOAP.

Also I am trying to set the locality for a user in Java to use it
via CLI and I can’t find the function that lets me do that. Where
do I do that best?

I suggest you take a look at how CLITool is implemented. With the
CLITool you can set/get properties on the command line and import
properties from an xml file.

For example to set the locality of the user martijn(a)djigzo.com to
internal, execute the following command on the command line:

java -cp djigzo.jar mitm.application.djigzo.tools.CLITool --email
martijn(a)djigzo.com --set-property user.locality --value internal

Kind regards,

Martijn

···

On 06/21/2014 11:44 AM, Philipp Setzer wrote:

--
Ciphermail email encryption