setSecurityContext method
setSecurityContext is a method that sets the SecurityContext of server of the application. by default it's set to null.
Implementation
Application setSecurityContext(SecurityContext securityContext) {
this.securityContext = securityContext;
return this;
}