I have configAllowedUsers.properties
.
It has single in Entry like the following:
users = abc, pew, rt, me1, me3, ku3,........
I have some doubts about length of value stored in it. I will read it using java.util.Properties
. Thousands of usernames would be stored in it and I could not store them in database.
I had the same question in mind today, so I started researching. I did not find any limitations originating from java.util.Properties
, so it is probably safe to assume that the rules are the same as for String
:
Integer.MAX_VALUE
(which is 231-1)Whichever is reached first in your environment.
Of course, not finding any official statements on this topic does not prove that these assumptions are correct, but let's consider the Properties
class innocent unless proven guilty.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With