code: protected boolean doRequiredAttributesAllowPrincipalAccess(final Map<String, Object> principalAttributes, final Map<String, Set<String>> requiredAttributes) {
          LOGGER.debug("These required attributes [{}] are examined against [{}] before service can proceed.", requiredAttributes, principalAttributes);
          if (requiredAttributes.isEmpty()) {
              return true;
          }
          return requiredAttributesFoundInMap(principalAttributes, requiredAttributes);
      }
docs: Do required attributes allow principal access boolean.
  
  @param principalAttributes the principal attributes
  @param requiredAttributes  the required attributes
  @return the boolean