[NEXUS-5900] Drop security on/off checkbox from server settings UI

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
[NEXUS-5902] Make anonymous an administrator when security is disabled

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
[NEXUS-5903] Remove rest API for settings security enabled/disabled

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
[NXCM-4543] Prefer subject principal over request or authentication-token principal for userId, these could be different for token-based authentication schemes
Use RequestUtils.extractUserId() helper
Merge remote-tracking branch 'origin/master' into NEXUS-5899-disable-security
[NEXUS-5901] Warn user about the fact that security has been enabled on upgrade

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
[NEXUS-5903] Remove config/api for disabling security

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
[NEXUS-5902] Use a shire thread bounded all rights subject in case that tests should run with security disabled

+ remove direct calls to security system/config to disable security

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
[NEXUS-5899] Do not store the upgraded file to ${plexus-home}/conf as that may interfere with other tests depending on test ordering

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
[NEXUS-5902] Make Nexus421PlainNotificationIT a secure test to avoid emails being sent also to anonymous user

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
[NEXUS-5899] Upgrade default test security-configuration.xml to 2.0.7

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
[NEXUS-5911] replace plexus with jsr-330
[NEXUS-5902] Do not update user roles if not necessary

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
[NEXUS-5899] Drop useless memory realms & UTs / ITs related to it

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
Merge remote-tracking branch 'origin/master' into NEXUS-5899-disable-security
Show artifact information panel if was hidden due to a previous 404

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
[NEXUS-4292] Make download button a link button in artifact information panel

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
Simplify ?describe template w/macros, make slightly easier to read... fix sp etc
Handle new files when dev mode is on ("NEXUS_RESOURCE_DIRS" env var is set)

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>
Omit query part as we are just interested in path to resource

Signed-off-by: Alin Dreghiciu <adreghiciu@gmail.com>