Blocks :
|
|
Blocks :
|
|
Relates :
|
JDK-8154231 introduced GetPropertyAction.getProperty et al, and after some discussion it was suggested to alter these methods to better indicate that calling these methods is performing a privileged action: GetPropertyAction.getProperty -> privilegedGetProperty GetPropertyAction.getProperties -> privilegedGetProperties GetIntegerAction.getProperty -> privilegedGetProperty Also a note should be added to all methods: "Note that this method performs a doPrivileged using caller-provided inputs. The caller of this method should take care to ensure that the inputs are not tainted and the returned property is not made accessible to untrusted code if it contains sensitive information."