Security is all about authentication and authorization, which are parts of the AAA trio:
For security configuration, go to Manage Jenkins and click on Configure Global Security in Jenkins:
To enable security in Jenkins, click on Enable Security. By default, security is enabled in Jenkins:
We need to change TCP port for JNLPagents to Random so agents can be configured.
For Access Control in Authentication, select