question: public void addSecurityRequirementExtensionForEntireService ( Swagger swagger ) { AuthenticationRule . Builder builder = AuthenticationRule . newBuilder ( ) ; if ( convertSecurityRequirementExtension ( swagger . getVendorExtensions ( ) , builder , new SimpleLocation ( "Swagger Spec" ) ) ) { builder . setSelector ( "*" ) ; authRules . add ( builder . build ( ) ) ; } }
target:  Adds auth security requirement for the entire service.