private boolean isValidConfig()

in emr-user-role-mapper-application/src/main/java/com/amazon/aws/emr/ApplicationConfiguration.java [51:61]


    private boolean isValidConfig() {
        boolean isValid = true;
        if ((getProperty(Constants.ROLE_MAPPER_CLASS, null) == null) &&
                (getProperty(Constants.ROLE_MAPPING_S3_BUCKET, null) == null &&
                        getProperty(Constants.ROLE_MAPPING_S3_KEY, null) == null)) {
            log.error("Both custom class name and bucket/key can't be null.");
            isValid = false;
        }

        return isValid;
    }