code: public void setEnableAuthentication( boolean enableAuthentication ) {
  
  		this.logger.fine( "Authentication is now " + (enableAuthentication ? "enabled" : "disabled") + ". Updating the REST resource." );
  		this.enableAuthentication = enableAuthentication;
  
  		if( this.authenticationFilter != null )
  			this.authenticationFilter.setAuthenticationEnabled( enableAuthentication );
  	}
docs: Invoked by iPojo.
  @param enableAuthentication the enableAuthentication to set