Thanks to everyone who replied with different solutions, especially to
Neil for this detailed explanation about how to use the actions.
Le 04/10/2023 à 19:07, Neil C Smith a écrit :
On Wed, 4 Oct 2023 at 10:16, Richard Grin
wrote:
Is it possible to add an environment variable for *only one*
I use keepass and the command line interface to access passwords through java.
Keepass would require a password and I also use a Key File(stored on a server),
and by isolate this password in one class, you should be able to limit access
to this one source.
Steven M Nelligan
From: Laszlo
On Wed, 4 Oct 2023 at 10:16, Richard Grin
wrote:
> Is it possible to add an environment variable for *only one* Java
> project in NetBeans?
...
> I use Maven to build the project.
Incidentally, to do this with Maven projects, use the project properties.
Under Actions, choose eg. `Run project`
Well, the zero secret problem (the secret which allows you to access
further secrets), are usually solved by providing an environment. It
could be as simple as an environment variable, or some confinement,
entitled with policies.
On 10/4/23 08:33, Richard Grin wrote:
I answer your question:
I answer your question: it could be, for example, a password of a user of a
database, put in a Java variable or used in an annotation, or a secret key for
an API.
Any way of hiding the secret value in the source code would be appropriate.,
using Maven or nor.
Envoyé depuis mon appareil
Every time I press the Backspace key on my keyboard, it goes left, yes left,
not deleting or removing the codes that I am typing. Same goes with other keys
on my keyboard, either they go up, down, left, or right. I just saw the Editor
Pin recently at the top my Netbeans app and I don't why it's
I suppose you could encrypt the value in a String field or function in one
class and then have another class that decrypts that value. This would be a
slightly more laborious version of hiding the key under the welcome mat,
but not much safer.
Maybe I'm misunderstanding. Is the secret value for
I have "modularised" my java project, and since then, I have noticed that
Netbeans 14 doesn't like to resolve all entries when I do "Find Usages". I
can of course sometimes see too much when I do a "Find In Projects".
Have later versions of NB tackled this seeming annoyance?
Ta.
Owen.
Hello,
Is it possible to add an environment variable for *only one* Java
project in NetBeans? I have added a Windows user variable in the system
parameters but I find the process a bit cumbersome.
Is there a better way of hiding a secret value than using an environment
variable?
A similar