Dear Richard, perhaps I have to be more precise with my question: I need to use a mapping file with lots of class map and property bridge definitions. I could include some database description there as well, however, it would not be OK to have a database password stored there in a plain text form.
I was trying to use --password option together with the mapping file specification, however, with no success, trying both: > d2r-server --password p my_mapping.n3 and > d2r-server --password 'p' my_mapping.n3 each of the options results in login failed error. (the mapping contains the following database description, the password is just left out from there): map:database_school a d2rq:Database ; d2rq:jdbcDriver "com.microsoft.sqlserver.jdbc.SQLServerDriver"; d2rq:jdbcDSN "jdbc:sqlserver://127.0.0.1:1433;databaseName=mydb;user=u"; . Is there an option to have a similar construction working? It would be OK also, if the server would open the actual datbase login window on startup. If there would be a possibility to call d2r-server with dynamically built-up mapping string (where the password part could have come from the user input then), that also would be some sort of solution. Or may be there is some much simpler option that would allow using the mapping without the plain text password stored in it? Thanks, Karlis Cerans On 27.08.2013 14:16, Richard Cyganiak wrote: > One more addition: As pointed out on the issue tracker, on recent versions of > D2R Server, --port and --password are available and should be used instead of > -p. > > Best, > Richard > > > On 27 Aug 2013, at 10:17, Richard Cyganiak <rich...@cyganiak.de> wrote: > >> Hi Karlis, >> >> The -p command-line option on D2R Server can be used to specify the >> password. (The documentation indicates that -p also can be used to set the >> server port, but that's wrong. I just raised an issue for that [1]). >> >> Best, >> Richard >> >> >> [1] https://github.com/d2rq/d2rq/issues/223 >> >> >> On 27 Aug 2013, at 07:54, Kārlis Čerāns <karlis.cer...@lumii.lv> wrote: >> >>> Dear D2RQ developers, >>> >>> does anyone know of possibility of not storing database passwords in >>> d2rq mapping files but providing them directly to the database engine >>> while starting D2RQ server? >>> >>> If there is no such option, would there be any >>> recommendations/considerations to be taken into account, if the >>> implementation of this is considered? >>> >>> Thanks, >>> Kārlis Čerāns >>> >>> ------------------------------------------------------------------------------ >>> Introducing Performance Central, a new site from SourceForge and >>> AppDynamics. Performance Central is your source for news, insights, >>> analysis and resources for efficient Application Performance Management. >>> Visit us today! >>> http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk >>> _______________________________________________ >>> d2rq-map-devel mailing list >>> d2rq-map-devel@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel >> > ------------------------------------------------------------------------------ Android is increasing in popularity, but the open development platform that developers love is also attractive to malware creators. Download this white paper to learn more about secure code signing practices that can help keep Android apps secure. http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk _______________________________________________ d2rq-map-devel mailing list d2rq-map-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/d2rq-map-devel